It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation error: No parent issue to get assignee

I have made a project rule in a next-gen Jira project, that assigns sub-tasks to the assignee of the parent issue.

The rule runs successfully, but in the audit log, it says "No parent issue to get assignee".

Capture.PNG

The subtask does have a parent, and the parent issue has an assignee to copy.

Capture2.PNG

Is this a bug, or is the parent-child link somehow broken?

1 answer

0 votes

Hello @Tobias_Kaufmanas

Thank you for reaching out.

Indeed, Jira Next-gen projects have a different architecture than Classic projects, so some functions in Jira automation might not work as expected as explained in the Bug issue reported below:

NextGen Software projects are fairly broken in cloud automation 

However, the link between sub-tasks and parent issues seems to be working fine in the automation of Next-gen projects. I tested it with the following rule and updated the sub-tasks issues just as expected:

Screen Shot 2020-06-22 at 16.34.08.png

That being said, in order to further investigate what can be causing the behavior you are facing, could you please provide us the complete rule you configured and test if the rule above works for you?

Hi Petter.

 

Here is the rule I tried:

Capture3.PNG

 

When I look at the history panel, I can see that the parent gets assigned after the issue creation:

Capture5.PNG

I am suspecting that maybe the rule is run before the parent gets set, when using the "Add a child issue" button, then there won't be a parent to copy from yet?

 

The rule you attached is working when commenting the parent issue, then the subtasks get assigned, so the link seems to work.

Thanks for looking into this.

- Tobias

Hello @Tobias_Kaufmanas

Thank you for the screenshot provided.

Your logic is completely correct: The rule is run before the parent gets set in the subtask, and this is causing the rule to fail.

To fix this behavior, you must add the action "Re-fetch issue data" to the rule before the final action:

Screen Shot 2020-06-23 at 14.52.56.png

Let us know if it works for you.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Next-gen

Introducing manual board clearing for your next-gen Kanban board!

Hi Atlassian Community! My name is Ivan, and I’m a Product Manager on Jira Software Cloud. Project admins are spending hours a week tracking their team’s work on their boards. End users use the b...

48,830 views 11 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you