jira

Get jira statuses

Request
Security:
ApiKey (readwrite)
query Parameters
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
projectKey
string
issueType
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/jira/statuses
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/jira/statuses?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&projectKey=string&issueType=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get jira issue create metadata

Request
Security:
ApiKey (readwrite)
query Parameters
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
projectKey
string
issueType
string
expand
string
fetchStatus
boolean
ignoreComment
boolean
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/jira/createMetadata
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/jira/createMetadata?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&projectKey=string&issueType=string&expand=string&fetchStatus=true&ignoreComment=true&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Get jira projects

Request
Security:
ApiKey (readwrite)
query Parameters
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/jira/projects
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/jira/projects?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": [
    ],
  • "metaData": { },
  • "correlationId": "string"
}

Get jira issue update metadata

Request
Security:
ApiKey (readwrite)
query Parameters
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
issueKey
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/jira/updateMetadata
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/jira/updateMetadata?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&issueKey=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": {
    },
  • "metaData": { },
  • "correlationId": "string"
}

Validate jira credentials

Request
Security:
ApiKey (readwrite)
query Parameters
connectorRef
required
string
accountIdentifier
required
string
orgIdentifier
string
projectIdentifier
string
branch
string
repoIdentifier
string
getDefaultFromOtherRepo
boolean
Responses
200

successful operation

400

Bad Request

500

Internal server error

get/ng/api/jira/validate
Request samples
curl -i -X GET \
  'https://app.harness.io/gateway/ng/api/jira/validate?connectorRef=string&accountIdentifier=string&orgIdentifier=string&projectIdentifier=string&branch=string&repoIdentifier=string&getDefaultFromOtherRepo=true' \
  -H 'x-api-key: YOUR_API_KEY_HERE'
Response samples
application/json
{
  • "status": "SUCCESS",
  • "data": true,
  • "metaData": { },
  • "correlationId": "string"
}