Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Project Automation Error Help Required

Paul Nash
Contributor
May 26, 2020

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...

Action details:

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

Related issues condition

The following issues passed:MESD-89

Transition issue

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)

Associated items:

Issue event

Branch rule / related issue

 

 

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:

Screenshot 2020-05-26_18-16-23-493.png

 

Can anyone offer some direction here. Thanks

 

1 answer

0 votes
Petter Gonçalves
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 28, 2020

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:

Screen Shot 2020-05-28 at 19.45.33.png

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:

Screen Shot 2020-05-28 at 19.49.19.png

Let us know if you have any questions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events