Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,758
Community Members
 
Community Events
165
Community Groups

Getting a deployment issue list using API

Edited

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?

1 answer

1 accepted

0 votes
Answer accepted
Syahrul Atlassian Team Jun 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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,112 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you