Bamboo shows unrelated Jira bug numbers from Stash

We have a couple of projects that live in the same Stash/Git repository.

We are commenting the Jira bug numbers on the Git commits, and so when Bamboo builds, it indicates that the build includes fixes for bugs that are not actually part of the project.

For example, in our repository, each project is in a specific path...

/projectA

/projectB

If someone commits a fix for projectB, but Bamboo builds projectA, it shows that the fix for projectB is included in that build.

I have already linked the Bamboo Plan to a Jira Key, which I thought might get it to work, but it does not seem to care. Any ideas? Can you tell Bamboo to only consider a specific path (git filter-tree??) when looking at the changes?

1 answer

1 accepted

Hm... Have you tried to use "include/exclude files" setting ( https://confluence.atlassian.com/display/BAMBOO/Git ) on the repository configuration for your plans? I'm not sure if that would solve your case, but it might be worth trying if you hadn't tried yet...

regards

yup that's it, thanks

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,944 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot