Hello!
In the first picture you see automation - when a version is released - close all version's tasks.
Versions contain only tasks and bugs. But the parent for a task is a story, of course this is implemented through "LinkedIssues", i.e. relates to, or the parent for.
I have been racking my brains for a long time how to make it so that when closing a task after a releasing, a comment with the date and name of the fixVersion is left in the parent story. What is the best way to do this?
Your second part cannot work as For Linked Issues reference the Version released not the Task and you cannot have a branch action in a branch action.
You could create a second automation that add a comment to the parent when a Task is closed. Assuming your Tasks are all closed by this Release automation. Do not forget to check the option to let the second rule be trigger by an automation.
To fetch the release info, you will have to get the fixVersion associated with the issue.
eg
{{issue.fixVersions.first.releaseDate}}
Regards
Hi @Arsen Sukias -- Welcome to the Atlassian Community!
First a suggestion: I recommend adding a condition before transitioning the issues so they do not change / transition if they are already "closed".
Back to your question...
This could be done with one or two rules. @Florian Bonniec describes the approach for doing this with two rules, where the actions of one rule trigger the other. This may be better if you want the "parent" Story comment added after the associated Task is completed, and if you expect there could be more than 100 total issues updated.
For a one-rule approach...
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.