Hello community, I have the following problem, and I suspect that I'm just doing something wrong. Therefore, any help would be greatly appreciated.
My use case is to identify all items with empty fix versions and fix them with Jira automation. I'm using a trigger where the sprint value changes for a Jira ticket, such a sprint is active, and such a sprint contains a particular string.
2. Next is my branch, where I would like to work with the mentioned lookup work items (see screenshot)
3. Next, I'm doing a comparison for the empty fix version (see screenshot)
4. Next I'm trying to edit all items that match the previous condition (see screenshot)
5. And finally, sent a Slack message for each of the modified tickets.
Examining the audit log, I can see a properly populated lookup table with all items in the current sprint (based on the trigger). Even Slack is able to translate {{MyIssue.FixVersions}} properly, but I suspect issue somewhere in if or editing given issues. Any idea how to achieve my goal?
Welcome to the community.
In the condition in the branch set the field to be check if empty to {{issue.fixVersions}}
You don't have to specify MyIssue in this variable the issue key is stored, but the branch is based on the lookup action, so it acts for each issue found in the lookup and for each issue you wand a condition to see if the Fix Versions fields is empty and if so set it with the value you require
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.