I'm hooking up TeamCity integration for our project. I'd like this to work for two different cases:
1) If someone marks a bug as "Fix Submitted", the state will be set to Fixed and the Fixed In Build will be set whenever the next successful build happens.
2) If someone adds a bug number to a checkin comment, the state will be set to Fixed and the Fixed In Build will be set whenever a build with that change in is successful.
I thought I could do both with one mapping, like this:
Case 1 works fine, but case 2 (using a checkin comment) has no effect.
Looking at the build details in TeamCity, it has converted the bug number to a valid link into YouTrack, so that side of the integration seems fine.
I was assuming that the "Related Issues" and "Issues Matching Query" options were independent, so that a Related Issue would have the command applied regardless of whether or not it matches the query. Is that wrong?
Any tips would be much appreciated!