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,300,178
Community Members
 
Community Events
165
Community Groups

Find JIRA issues based on Bitbucket deployment

I have set up my pipelines with the following approach (we do canary releases):

  1. On master pipeline, bitbucket will push a tag and commit the new version with [skip ci] preffix.
  2. I have a webhook to identify tags creation and run staging deployment pipeline on master
  3. After successful tests on staging, we decide to deploy master on canary.
  4. We also use JIRA automation to identify deployments on issues to do some transitioning (canary deployments will transition issue from Done to Canary, for instance)

The problem we are facing happens when we have some PRs merged before step 3 and not all expected JIRA issues are listed as deployed to canary.

Example:

  • Current version in master is 1.0.0
  • Latest commit on master is also the commit on deployments on staging and canary
  • 3 PRs are merged in same day, which generates versions 1.0.1, 1.0.2, 1.0.3
  • All of the versions above were deployed to staging, latest commit on staging is the 1.0.3 commit version;
  • We decide to deploy canary. Only issue between 1.0.2 and 1.0.3 is listed as issues deployed, although issues from 1.0.0 (last canary version) to 1.0.3 should be listed there.

How can I make this work? Is this approach possible to be used?

0 answers

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,257 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