I want to write a Python program that uses Atlassian's Jira and Bitbucket. By inputting an issue number, it should be able to retrieve all pull requests related to that issue. How can this be achieved?
Hi @cngufeng1
You can retrieve all Bitbucket pull requests linked to a Jira issue using the Jira REST API endpoint:
/rest/dev-status/1.0/issue/detail?issueKey=PROJ-123&applicationType=bitbucket&dataType=pullrequest.
Hope this helps - Happy to help further!!
Thank you very much and have a great one!
Warm regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.