Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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,466,638
Community Members
 
Community Events
176
Community Groups

How to get a list of Jira issues related to a branch

Hi,

 

We use the Jira - BitBucket integration.

So, every GIT commit is connected to one or many Jira issues.

Assuming I would like to query all Jira issues that are" connected" to a branch.

Or, more technical terms: Query all Jira issues that are linked to a commits that are reachable by specific branch.

 

How can I get this information from Jira?

1 answer

0 votes
Deleted user Nov 12, 2019

Hi @Yaron Norani

 

You will be able to perform Advanced JQL searching on development fields reference. Please see the page Advanced searching - development fields reference

 

Regards,

Vijay Ramamurthy

Vijay ,

 

Thanks for the quick response.

This will work only of I have created the brach from Jira from the development tool section?

My use case is that users creates branches using git commands.

Then apply the Jira ID at the commit message.

Hi @[deleted]  

Can you please check this comment and response?

 

Thanks!

Deleted user Nov 18, 2019

Hi @Yaron Norani

Yes, the above JQL search will work only if you have your DVCS connected to your JIRA instance, basically we are performing search based on the development panel available in JIRA issue and JIRA will not be able to identify the issues if you do not have them configured and search and provide you the required results.

Unfortunately I am not aware of any other native method which will allow you to get your required results.

 

Regards,

Vijay Ramamurthy

The linked JQL reference doesn't seem to allow for what was requested here. I can't query on a specific branch can I?  Could I record branches into a jira custom field somehow?

Hi @Steve McAfee ,

Actually, this is what we did at the end.

We have created a tool that browsed all git commits, and added relevant data to Jira custom field accordingly.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events