The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Getting a deployment issue list using API

Robert Esposito
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!
June 13, 2022

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.

deployment_pic.jpg

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?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 14, 2022

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:

Development Information 

Cheers,
Syahrul

alemseged
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!
June 26, 2022

@Robert Esposito I was looking for the same thing, have you figure it out?

0 votes
David Berclaz _Apwide_
Community Champion
October 24, 2022

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

TAGS
AUG Leaders

Atlassian Community Events