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?
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for help but I found it using other experimental URLs.
Spacibo vam bolshoi!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.