Heads up! On March 5, starting at 4:30 PM Central Time, our community will be undergoing scheduled maintenance for a few hours. During this time, you will find the site temporarily inaccessible. Thanks for your patience. Read more.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Issue creation in Automation doesnt work

scherdin
Contributor
May 31, 2024

I've been trying to create an Automation that creates subtasks for a specific Process in our company. But whenever I run it I get this error code which translates to ,,The parent process does not belong to the corresponding hierarchy".

2024-05-31 09_49_53-Audit log - Automation - Jira.png

2 answers

2 accepted

1 vote
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2024

Hi Scherdin,

Can you share your rule that you have here? That will help us to better check it. 

scherdin
Contributor
June 2, 2024

2024-06-03 07_53_40-Rule builder - Automation - IT Hilfe - Jira.png

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2024

Thank you for that. Can you now show us the details of the Create Issue action? 

 

scherdin
Contributor
June 3, 2024

Sure

2024-06-03 14_29_53-Rule builder - Automation - IT Hilfe - Jira.png

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2024

Thanks. What issue type is the issue being created? 

And what is your Issue Type Hierarchy?

scherdin
Contributor
June 3, 2024

A service-request is created, where can i check the Hierarchy?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2024

Go to Settings > Issues > Issue Type Hierarchy

But I don't think you will find set up will support what you are trying to do. You are trying to make a service-request issue the parent of a task issue. 

You probably should not populate the Parent field on the create - get rid of that field. 

Then after your create action, add an action to Link Issues. 

1 vote
Answer accepted
mike stamp
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 31, 2024

Hello,@scherdin Receiptify Music

The error "The parent process does not belong to the corresponding hierarchy" usually means that the subtasks you're trying to create don't align correctly with the parent task's structure or category. Here's how to fix it:

Check Parent Task: Ensure that the parent task is correctly set up within the appropriate process and hierarchy.


Verify Subtasks: Confirm that the subtasks you're creating are allowed within the parent task's process.


Hierarchy Settings: Double-check the hierarchy settings to make sure the parent task and subtasks belong to the same process flow.


Automation Rules: Review the automation rules to ensure they are correctly configured to target the appropriate parent task.


Adjusting these settings should resolve the error and allow your automation to create subtasks correctly.

I hope the answer wil help you

Regards 

mike stamp

Suggest an answer

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

Atlassian Community Events