Skip to main content

BitBucket Datasheet

Harness SEI uses Rest APIs to connect to Bitbucket. Using these API calls, Harness SEI ingests metadata for commits and pull requests from Bitbucket.

Bitbucket commits

Metadata
  • id
  • displayId
  • author
  • author
    • name
    • emailAddress
    • id
    • displayName
    • active
    • slug
    • type
  • authorTimestamp
  • committer
    • name
    • emailAddress
    • id
    • displayName
    • active
    • slug
    • type
  • committerTimestamp
  • message
  • projectName
  • repoName
  • commitUrl
  • additions
  • deletions
  • files
    • fileName
    • source
      • components
      • parent
      • name
      • extension
      • toString
    • destination
      • components
      • parent
      • name
      • extension
      • toString
    • linesRemoved
    • linesAdded
  • parents
    • id
    • displayId
  • pullRequests
  • tags

Bitbucket pull requests

Metadata
  • id
  • version
  • title
  • description
  • state
  • open
  • closed
  • creationDate
  • updatedDate
  • fromRef
    • id
    • displayId
    • latestCommit
    • repository
  • toRef
    • id
    • displayId
    • latestCommit
    • repository
  • author
    • user
    • role
    • approved
    • status
    • lastReviewCommit
    • slug
    • type
  • reviewers
  • participants
    • user
    • role
    • approved
    • status
    • lastReviewCommit
  • links
  • properties
    • mergeResult
      • outcome
      • current
    • resolvedTaskCount
    • openTaskCount
  • commits
  • activities
    • id
    • createdDate
    • user
    • action
    • commit
  • additions
  • deletions
  • files_ct
  • merge_commit
  • tags

Bitbucket repositories

Metadata
  • slug
  • id
  • name
  • description
  • hierarchyId
  • scmId
  • state
  • statusMessage
  • forkable
  • project
    • key
    • id
    • name
    • description
    • public
    • type
    • links
  • public
  • links
  • defaultBranch
  • commits
  • pullRequests
  • properties
  • tags

Bitbucket tags

Metadata
  • id
  • displayId
  • type
  • latestCommit
  • latestChangeSet
  • hash