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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

157 views 1 17
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