in the tutorial how to configure workflow (see link below) it mentions we can trigger after a "branch created (bitbucket server)"
I understood from the "create commit" it uses the JIRA # inside of the comment. How do we do it for the "branch created" if we cannot insert comments in the creation of a branch?
Workflow triggers are configured in Jira but are based on operations performed in other tools (Bitbucket Server in this case).
In order to use the the "Branch created" trigger, you'll need to use the Jira issue key in the branch name.
A common pattern would be the following:
- Jira issue key: PROJ-1
- Bitbucket branch name: bug/PROJ-1_issue_short_description
When the branch is created in Bitbucket Server, the transition will be automatically performed in Jira. In other words, Bitbucket Server will send an event to Jira and, based on that, Jira will perform the issue transition.
Hope this helps.
I also replied to the other thread here. Let me know if there are any questions.
Cheers,
Caterina - Atlassian
Welcome to the community!
Whenever the brach will create from the Jira issue using the development panel create branch option then it will contain the Jira issue key itself within the branch.
So if you used the branch created a workflow trigger for creating a branch then the respective branch will also contain the issue key like TEST-1 <Summary>/<branch_type>.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yogesh, thanks for answering my question.
My understanding is in order to launch this "create branch" from JIRA, it still takes a manual intervention from the user.
Do we have a manner of automatically triggering an action from JIRA to Bitbucket (github) to "create branch"?
Cheers, Samuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nope, We need to create a branch manually only.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I see Yogesh.
Then JIRA cannot execute Bitbucket commands as a native feature. I heard we could pass Bitbucket commands by using a REST API available in JIRA.
Would you know if there is a manner to trigger a event from JIRA, to start a REST API script to execute Bitbucket commands?
Thanks again, Samuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, Might be it is there but did not use anymore.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.