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: 

How to get Deployment information out of Jira?

Rodion Martynov
Contributor
January 27, 2020

Issues have Releases information
image.png

A level deeper, there is a Deployment information

image.png

How can I get this deployment information into Confluence?
Is there a possibility of retrieving that via Jira API?

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Lenin Raj
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 28, 2020

@Rodion Martynov 

This information isn't available via the 'Get Issue' API. However if you know the individual deployment's key (when you submitted it), you can retrieve it via the endpoint @Max Foerster - K15t  mentioned.

 

However, you can use deployment information in JQL as well. See https://confluence.atlassian.com/jiracorecloud/advanced-searching-developer-reference-967312946.html (Deployments section)

 

Using JQL, you can use 'Jira issues' macro to show appropriate issues in Confluence.

Rodion Martynov
Contributor
January 28, 2020

@Lenin Raj  

Thank you for answering.

 

We need that information in our change control log that we retrieve based on the `Jira Issue` in status `DONE` and we don't have the deployment key at that point.

 

Is it possible to ask Atlassian Team to include deployment information into Jira Confluence Changelog Report and/or Jira API via GET by Issue?

Can you point out where is the place to do that, please?

1 vote
Max Foerster - K15t
Community Champion
January 27, 2020

Hi @Rodion Martynov ,

a had a quick glance at the Cloud REST API documentation. Is this what you're looking for?

Get a deployment by key 

Best, Max

Mike Heyns
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!
March 13, 2021

I can successfully submit deployment information via

https://api.atlassian.com/jira/deployments/0.1/cloud/<tenant-id>/bulk

but I get a 404  when trying to retrieve it via

https://api.atlassian.com/jira/deployments/0.1/cloud/<tenant-id>/pipelines/<pipeline-id>/environments/<environment-id>/deployments/<deployment-sequence-number>

Can you advise what I'm doing wrong or where I can get more information?

Like Jeff Tchang likes this
Karuna Kant Mishra
October 28, 2022

I am exactly on same boat.

for bulk posting how to i get the pipeline id and max of deployment sequence number. so that we can bulk post.

Like Jannis Morgenstern likes this