How to move the task from Epic to subtask

김영동
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!
November 8, 2023

Hi, I've been working for Jira Automation at my company.

I just wonder how to move the task of Top level Epic to Subtask

My Project structure is same with below.

 

[Project]

    [Epic]

          [Story]

              [Subtask]

 

I made automation to create the task in Epic. But, I want to move some task to Story. But it didn't work. I just check the 'Given parent issue does not belong to appropriate hierarchy.' message.

2 answers

0 votes
Bill Sheboy
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 Leaders.
November 9, 2023

Hi @김영동 -- Welcome to the Atlassian Community!

What problem are you trying to solve by doing this?  That is, "why do this"?  Knowing that may help the community to offer better suggestions.

Until we know that...

Using an automation rule to change an issue type is probably not a good idea.  There are usually many differences between the types, and so Jira needs guidance from the user to decide those.  This is why there is a specific menu function in Jira to change an issue type: Move.

Kind regards,
Bill

0 votes
Linh Pham_Ricksoft_Inc
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 8, 2023

Hi @김영동 , welcome to the community!

I understand from your question that the current 'Task' issue type is a child of the Epic (created from automation). Now, you want to move that 'Task' to another parent, but instead of Epic, the new parent is "Story" issue type?

Please note that "Task" and "Story" are the same standard issue level, so you can't establish the parent-child relationship between them.

Perhaps, you can consider transitioning the Task to Sub-Task first, then add the respective Story as parent?

김영동
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!
November 8, 2023

Hi, @Linh Pham_Ricksoft_Inc 

Thank you for your reply.

 

So, could you know the logic which transition from Task to Sub-Task using the Automation??

Linh Pham_Ricksoft_Inc
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 9, 2023

@김영동 

Are you looking to change multiple issues? I found a knowledge base article that might be helpful: setup an automation rule to change the issue type based on a string added to the issue summary  

If you just want to move a couple of tickets, you can change the issue type directly:

  • In Team-managed project, select the Move option from the Actions menu, once you select the sub-task issue type, it will let you map it to the new parent issue
    Move issue team-managed.png

  • In Company-managed project, you'll have the option to "Convert to sub-task"
    Move issue company-managed 2.png
Like Rodrigo likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events