Forums

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

Error in automation

Anne Nirojini April 5, 2022

I want to transform the status of the parent issue to "done" if the child issues are moved to the "done" status. I added automation but it's not working. how can I resolve this issue?

2 answers

2 accepted

2 votes
Answer accepted
carlosughini
Community Champion
April 5, 2022

Hi Anne,

Hope you've been well.

It would be nice if you could share your automation so we could try to spot the issue.

Also, Atlassian has a very similar rule available in their template library: 


Screen Shot 2022-04-05 at 10.22.31 am.png

Please give it a try and let us know how it goes.

Cheers,

Carlos

Anne Nirojini April 14, 2022

jira.PNG

It says like some errors. I tried the same automation you have given. Is there is any other automation rules?

Anne Nirojini April 14, 2022

@carlosughini this is the detailed error message. 

jira 2.PNG

carlosughini
Community Champion
April 16, 2022

Hi Anne,

So the error is showing the following message:

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: S2

It means that your rule is being applied only to one project, in this case, the S2 project.

You need to access your rule details and update it to apply to all projects or maybe to only the projects that will be running this rule.

This is probably happening because you have sub-tasks that are from a couple of projects and not only from the S2 project.

Please give it a try and let me know how it goes.

Regards,

Carlos

Anne Nirojini April 18, 2022

jira3.PNG

I changed as you mentioned above, but it throw the error again, can you give me the solution for the highlighted transmission issue.

2 votes
Answer accepted
Jack Brickey
Community Champion
April 5, 2022

Could you share your current automation? There are a number of posts on this in the Community. It should look something like this...

trigger - issue transitioned

condition - type = sub-task

branch component - for parent

condition - if sub-tasks status = done

action - transition issue to done

action - add comment "issue set to done once all children are complete"

Anne Nirojini April 20, 2022

@Jack Brickey Can you give me a solution to this error.

jira3.PNG

Jack Brickey
Community Champion
April 20, 2022

The first thing to check is if you have a transition in the workflow between the current status to the DONE status. 

Like Anne Nirojini likes this
Anne Nirojini April 22, 2022

@Jack Brickey you are correct, mistake in the workflow. now it's okay. Thank You.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events