Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud, our FedRAMP Moderate offering, is coming soon! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events