When I make a software release in Bitbucket I put a tag on the commit. I know I can link a commit to a Jira issue if I include the Jira issue code in my Bitbucket commit. My question is can I link a Bitbucket tag for a release to my Versions in a Jira project?
Hi Kathy, I'm afraid that's not possible, you can only link Jira issues and Bitbucket commits.
However, there are other actions you can do. For example, it is possible to transition a Jira issue to the next step in the workflow by entering a certain line in a Bitbucket commit. To learn more about this, you can read Processing Jira Software issues with Smart Commit messages.
Let us know if you have any questions!
Best regards,
Ana
Ana, thanks for the feedback on this.
As your answer was a while ago, could you advise whether this feature this is now available or is up for future consideration?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jan,
As far as I know, this feature is still not available. I've checked the issue tracker and seems like none of the users had logged it there, so there's no information whether this feature will ever be implemented. If you're interested in this, please go ahead and submit this request via our portal. It often helps to add some example of how this could benefit your work, so the developers understand the importance of the feature.
Hope that helps!
Ana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, it'd be nice if this feature was part of the Jira-Bitbucket integration "out-of-the-box", but I'm guessing Atlassian will never implement this since this functionality has no feature request and is entirely possible, and not very hard, to implement using these products' REST APIs. Releases are typically made only after a vetting process. These days it is standard protocol for this process to be implemented in a CI system which builds and tests your product on SCM events (pushing a commit or tag).
So, I would propose the following solution (which is just one of many possible approaches) to your problem:
After this work, your release process looks like this:
What if the build/test fails? The corresponding Jira version is not released, as you would want.
To handle this, I propose that you leave the pipeline logic alone (keeping it simple "is this a build of a release tagged commit?) and move the release tag to the next commit after you fix the thing that caused the release build to not pass.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.