We are currently submitting our builds and deployments information from Jenkins to the JIRA Cloud instance via the corresponding API.
In the documentation https://developer.atlassian.com/cloud/jira/software/rest/api-group-deployments it states that
Deployments are identified by the combination of
In our case, for each deployment in the same environment pipelineId and environmentId stay the same and the deploymentSequenceNumber is an incremental int(Jenkins build number). However the ticket deployments panel does not show multiple deployments separately and only shows the latest one, which gets updated (new name, new modified time).
The general Deployments panel shows the history of all deployments correcly.
I can't find any information if this is by design or am i doing something wrong in submitted metadata?
I would expect the ticket view to show all the deployments (albeit on the same environment and the same pipeline) to be shown.
Can you shed some light on this for me please?
Hello @Evgenios Soroka ,
Before going any further, can you kindly let us know whether you are using the open source integration with Jenkins built by Atlassian (links below) or if you are using a custom integration you have built yourself?
Thanks for your quick reply @Evgenios Soroka !
I have contacted the dev team responsible for this and I been told that your understanding is correct:
deploymentSequenceNumber makes a deployment unique in the timeline of a pipelineId + environmentId.
it's possible to perform an update when the updateSequenceNumber is incremented.
the development panel always presents the latest deployment (latest deploymentSequenceNumber) of a single pipelineId + environmentId. This is because the most important information for the end user is to know which is the state of the latest deployment, as we do for builds as well.
Kindly let me know if this helps or if you have further questions on this topic.
If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...
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