I am trying to the list of JIRA tickets that a deployment is addressing. On the Deployment page, there is a tab where I can select the linked JIRA issues, which can be seen in the screenshot below.
I am trying to use the Bitbucket cloud API to list these issues in a report, but I can't seem to figure out how to get the issues from the API. When I do a get request of the deployment using the url:
"https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid}"
I get the information about the deployment itself, but not the connected issues. Is there a way to get these using the API?
Hey @Robert Esposito
G'Day!
I believe we don't have an API endpoint to get the Jira issue key from the deployment tab at this moment. Bitbucket only creates a link to the Jira issue, and we don't store any Jira information on our end; hence there's no endpoint to fetch this information.
I would suggest checking this on the Jira API side to see if it's possible:
Cheers,
Syahrul
@Robert Esposito I was looking for the same thing, have you figure it out?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Robert Esposito,
There is no magic and here is a recap of what we have experimented at Apwide regarding Deployment Management with Jira and Bitbucket:
DevOps way to track CI/CD Deployments and Agile Release Management
Feel free to contact my colleague Guillaume if you need more info.
Cheers,
David
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.