We have 3 build plans, Beta, Staging and Production. Each build plan is linked to a branch in a VSTS repository. We call the Bamboo API which returns the Jira tickets associated with the given build. Our last production build included not only Jira tickets for Production, but included Staging tickets as well. When you look at the production build details in Bamboo, you can see the associated Jira tickets split by build plan "Staging" and "Production".
The change sets were never merged into the production branch, so why does Bamboo think those changesets (and therefor the Jira tickets) are associated with production?
Thanks for any help!