Hello community :D,
I need your help for the following automation:
I want the child subtasks of a story to move according to the movement of their parent.
Ex: If my story is in progress and goes to the discarded state, all the issues that this story has should go to the discarded state.
Hello @Marcelo Ignacio Cid Abud
In your automation rule, I'd consider the following configuration:
Trigger: Issue Transitioned (specify to and from statuses at this level)
Condition: Specify that you only want to look at non-subtasks (standard issue types)
Branch Rule/Related Issues: Subtasks
Action: Transition the issue (Copy from Trigger Issue) so that the sub-tasks match the movement.
You'll want to make sure that your subtasks have the same transitions available as your parent issue types, otherwise you'll get an error.
Also, you could actually avoid specifying a status in the trigger: Issue Transitioned and leave it blank so that any transition is picked up by the automation rule.
Not sure how active your instance is, but if you have a lot of issues you may run into execution limits for automation rules unless this rule only needs to run within a project. Just something to consider.
Hope this helps
Thanks for the speed in responding to my question.
I tried the automation and it works perfectly now I have 2 queries:
1.- If I want to add 2 conditions to this automation: 1 If the subtasks are in the backlog, they must be removed from the project, 2 if they are in progress they become discarded as the parent.
2.- The idea of this automation is that it can be executed in approximately 15 projects, would I have to do a data refresh before executing the action?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
1 - I would add your conditions inside the "For Sub-tasks" branch in your automation rule. You can add conditions inside this branch (hover over somewhere within the branch) and either add a condition or an if/else block which would give you more flexibility. That would cover the first condition, for the second condition if you're referring to sub-tasks again I am not sure what you mean by "become discarded as the parent"
2 - You'd want to do a data refresh (re-fetch issues) if you have actions earlier in your automation rule that later conditions or actions in your automation rule reference. If you are on the premium plan, you can configure your automation rules to span multiple projects so you don't have to duplicate the same rule 15 times.
Hope this helps
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.
What error are you getting in the audit log?
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.
It looks like the conditions you've put together in the branch rule are the "Issue Fields Condition", you'll want to use the "If/Else Condition". Try that and please share a screenshot of your new configuration and audit log if it still isn't working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Sam Nadarajan - You probably forgot about this response but just a note to say thank you!
I stumbled on this thread while looking for the same fix and it worked like a charm!!
Really appreciate it
Ellis
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.