The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automate Story with Tasks instead of Subtasks in Branches

nsaleri
July 16, 2024

I have created an automation to create Tasks and Subtasks using Branch and it works fine.

Screenshot 2024-07-17 114458.png

But, when I change the issue type, Tasks to Story and Subtasks to Task, then it stops working and I get this error in the Audit Log, "Given parent issue does not belong to appropriate hierarchy. (parentId)"

Screenshot 2024-07-17 115001.png

I am keeping all setting as is and just changing the issue type.

 

What am I missing?

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Y Dang_Candylio
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 16, 2024

Hi @nsaleri

By default, Jira is set up with 3 levels of issue type hierarchy: Epic (level 1), Story (level 0) and Sub-Task (level -1)

Story and Task have the same level, so the system cannot create a Task under a Story. You should change Task by Sub-Task in the Branch 

I hope this helps!

nsaleri
July 16, 2024

I suspected this! Thanks for your help.

Like Y Dang_Candylio likes this
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events