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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,819 views 18 22
Read article

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