Hi,
I have setup a project automation rule for the following scenario.
A New User Service request that creates 5 subtasks when the parent issue transitions to the assigned status.
So at this point we have the parent as assigned and the 5 subtasks start with the assigned status also. (perfect! - both sr and subtask have separate workflows...)
The automation (project) that i have setup transitions the parent issue to "work in progress" status, when one of the 5 subtasks move to work in progress".
This works, but i'm getting the following errors...
This rule was configured with a project restriction. You can change this restriction in the 'Rule details' section. Only issues from the following projects or project types will be considered:MESD
The following issues passed:MESD-89
Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID or untranslated name for issues (with current status):MESD-89 (Work In Progress - 10089)
Also, what doesnt work, is if i put all subtasks back to a "assigned" status, it doesnt move the parent back to assigned.
The rules that i have setup are:
Can anyone offer some direction here. Thanks
Hello @Paul Nash
Thank you for reaching out.
Per your description, I understand the automation you configured is properly working to transition the parent to "Work in Progress" when a sub-task is transitioned, however, returning some errors in the audit log. Is that correct?
I believe those errors can be caused because you didn't add the condition before the parent branch to confirm if the issue is a sub-task. better explaining, the rule you created will run for all issues in your project (Sub-task or not), however, if you transition parent issue, the branch "Parent" will not be applicable and might return the error you are facing.
Anyway, besides the error you are facing in the audit logs, do you notice anything that is not working as expected with the rule?
About this sentence:
The automation (project) that i have setup transitions the parent issue to "work in progress" status, when one of the 5 subtasks move to work in progress".
Actually, you didn't add the sub-task status in the trigger of the rule, so your rule will add the parent to the "Work in progress" when ANY transition is performed in the sub-task, not mattering which status.
To properly move the parent to "Work in Progress" when a sub-task is transitioned to the same status, add the status in the trigger of the rule:
About this sentence:
Also, what doesnt work, is if i put all subtasks back to a "assigned" status, it doesnt move the parent back to assigned.
Indeed, the rule you created does not have this instruction added there. You would need to create another rule as in the example below. P.S: I used the status "To Do" instead of "Assigned" since this is the status available in my test site:
Let us know if you have any questions.
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.