I was hoping to understand a clear definition of how Bitbucket/Jira interact in order to understand all of the Jira Tickets which are included within a deployment run via a pipeline. It appears to be automatic, but I'm unclear from the documentation exactly how Bitbucket works it out.
There are various triggers for pipelines, so it would be good to understand:
I can probably guess how it works for Pull Requests, single Commits and standard merge commits, but it would be good to get confirmation.
Hi @Andy Rouse
Welcome to the community.
For the Pipelines Deployments, would it be possible for you to confirm if you're referring to the Pipelines Delployments UI like the way how it shows information in relation to Jira issues?
Regards,
Mark C
@Mark C - Yes - I'd like to understand how the Deployments UI "knows" which Jira tickets to link to a deployment and show in the UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Andy Rouse,
Thanks for the confirmation.
The Pipelines Deployments UI is based on a difference between the current state and the state after deployment.
When you view a specific build, the UI result compares it to the previous build listing all differences in the following tabs including Jira issue keys:
For example, if you have the 5 Pipelines builds below and you view build #215 on your Deployments UI, the modal will compare build #215 to #214 and list all their differences.
Having said that, there may be instances where no differences will be listed.
A common example here is when a build was a rerun or redeployed.
This is because there are no differences between the current build and the rerun/redeployed build.
Hope it helps and do let me know if you have further questions that I can help with.
Regards,
Mark C
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mark,
Thank you for getting back to me. Apologies, I'm not sure if I understand how the system compares the differences between builds in order to understand which tickets, etc.
Is a build always related to a specific (most recent) commit? Does it compare the difference between 2 commits upon which 2 builds are related?
Thanks,
Andy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Andy Rouse
Indeed, it compares the commits between the state before deployment and after for the specified environment.
Regards,
Mark C
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.
@Mark C - Apologies for coming back to this so late - Would it be at all possible to get a technical definition of what a "build" is in this context? I really want to understand what we're implementing if we get into deployments, how a roll-back might work, etc.
Our current git/environment strategy don't support using deployments in pipelines, so I'd like to make sure i understand everything before committing to what would be a pretty major change of strategy, just so we can use the deployments functionality :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @Andy Rouse
Build in this context refers to your Pipeline builds triggered from various places and there are several places to trigger a build. You can check this documentation on Pipeline start conditions.
Also, I've noticed that you have a paid workspace at the moment.
Hence, I'd highly recommend that we continue our discussion in a support ticket. That way, we can access your specific repository and configuration and see where you are at the moment in setting up Bitbucket Cloud Pipelines deployments.
You can raise a support ticket here: https://support.atlassian.com/contact/#/
Regards,
Mark C
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.