Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get the repository name when a branch is created in Jira?

Max Marx January 19, 2021

I am still new to Jira and I am trying to figure out how can I get the repository name from bitbucket when a branch is created in Jira? I need to populate the repository name in the Labels field or on a custom field on a Jira ticket. Hope to use a Post Condition when a Pull Request is created, a branch is created or during a workflow state transition. 

 

Thanks

Max

1 answer

0 votes
Gloria Ojukwu
Community Champion
January 21, 2021

Hi @Max Marx ,  I don't think you can see the parent branch if that's what you mean. But an alternative is to try using meta-data for every commit with the help of git notes. That way you can track what branch it was created from. I hope this helps. Have fun using Jira.

 

Regards,

Gloria Ojukwu.

Max Marx January 25, 2021

Thank you Gloria. I will give that a try.

Suggest an answer

Log in or Sign up to answer