Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any REST API for Jira 8.17.0 to access Development Info?

subodhsohoni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2024

I am trying to migrate projects from Jira Server to another DevOps Service. We are using Jira Server 8.17.0 which is linked to BitBucket. We regularly associate Commits with Jira Issues. 

I could not find any REST (or otherwise) APIs to access the Development Info from the Jira Issue. Available APIs are for Jira Cloud.

Does anyone know how to programmatically access Development Info in Jira Issue on Jira Server 8.17.0? 

2 answers

1 accepted

1 vote
Answer accepted
Subodh Sohoni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2024

I could get the Commits, Branches and PullRequests using following URL:

https://<My Service URL>/rest/dev-status/latest/issue/detail?issueId=<issueId>&applicationType=stash&dataType=repository - For list of commits
and 

https://<My Service URL>/rest/dev-status/latest/issue/detail?issueId=<issueId>&applicationType=stash&dataType=pullrequest - For lists of branches and PullRequests

0 votes
Kseniia Trushnikova
Community Champion
April 29, 2024

Hi @subodhsohoni,

Try to use the /rest/api/2/issue/{issueIdOrKey} method. 

There should be the custom field Development in your Jira. This field contains all info about commits and pull requests. To get value from this field, use this:

https://www.example.com/jira/rest/api/2/issue/TEST-1?fields=customfield_12345

Replace customfield_12345 with the Development field id.

Subodh Sohoni
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 30, 2024

Thanks for help but I found it using other experimental URLs. 

Spacibo vam bolshoi!

Like Kseniia Trushnikova likes this
santosh kumar Devata March 10, 2025

Hi @Subodh Sohoni and @Kseniia Trushnikova - can you guys share the working snippet here again. 

Suggest an answer

Log in or Sign up to answer