You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I am trying to create an automation rule to transform a "Task" issue type in a "subtask" one when this Task is linked to another parent issue.
Trigger : when a link is created between 2 parent issue - 1 of type Enhancement and 1 of type Task
Then I would like to transform the Task into subtask of the Enhancement.
I'm using the "Edit fields" action to change the issue type. "Parent key" is not available as a field to be set. So I try it in the advanced mode.
This Automation is not successful, I should have something wrong in my JSON in Advanced mode.
Error I get is "Issue type is a sub-task but parent issue key or id not specified. (issuetype)"
Thank you for your help.
Hi @Romain VELON ,
We currently don't support converting "tasks" to "subtasks". This operation can often require an "issue move" operation which involves field/workflow mapping depending on your setup (if you go to your task click the "..." and hit convert to subtask you'll be taken through the remapping).
As mentioned above the alternative is to use the "Clone issue" action, set the issue type to subtask and the parent issue to trigger issue (and then clean up the old task).
Hope that helps,
Question @Romain VELON the "Parent to child relations" in your trigger....is that a link type description you have in Jira? As i don't see that option, only link types that we have set up in our instance.
I only ask as I was looking the other day for a way to trigger from changes to the Advanced Roadmaps "Parent link" filed.