hi, guys!
A question: Is it possible to make the subtask's priority follow a history's priority?
For example: my history has 2 subtasks, and the history's priority changed for highest and I want that my subtasks' priority changes for highest too but automatically.
thanks!
Hi @Louise de Melo Macedo -- Welcome to the Atlassian Community!
To confirm your use case, when a user story's priority changes, you want the priority of its subtasks to also change. Is that correct?
If so, you can do that with a rule such as:
Please look at this documentation and examples to learn more about automation rules:
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This rule works when the field is edited, but I would like it to trigger on creation of the Story to copy the Story's priority down to the sub-tasks.
When i change the trigger to: Issue Created > Issue Type = Story > For Sub-Tasks > Copy Priority from Parent, this rule fails. It seems to run between the sub-tasks getting created, is this why it is failing? Is there a way to have it run in an order that would work?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Marrianna Martinez -- Welcome to the Atlassian Community!
Automation rules and timing with Jira events can be challenging to reconcile. Would you please post an image of your rule, as that will provide some context. Thanks!
Until then...How are you creating sub-tasks? Normally the issue is created and then its sub-tasks can be added. If you are trying to trigger on the story creation, the sub-tasks probably do not exist yet.
So you can reverse this, and let the sub-tasks drive the action as you know the story exists by that point;
This will fire as each sub-task is created. To keep things in sync, you also need a rule triggered on change of priority for the parent story, and then copy that down to the existing sub-tasks.
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.
Hi Bill, I created the rule you mentioned and it was failing, but I made a few changes to other rules I have set up in the project and I'm not sure what caused it, but the rule is working now.
Thanks!
Marrianna
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.