Hi Team,
I have been trying to use Jira automation to convert subtasks to tasks and retain the parent epic.
The reason is that at the end of a sprint, we want to convert any subtasks to tasks that aren't completed.
Any help would be greatly appreciated.
Hi @James Dempsey -- Welcome to the Atlassian Community!
For a question like this, context is important for the community to help. Please post the following:
Until we see those...
Next, a disclaimer: I generally recommend against changing work item types with automation rules. The reason is lots of things can be different between the types...which is why Jira has a Move function in the UX to guide the person through the change, asking questions as needed. But rules cannot stop processing to ask questions, and so all contingincies must be predicted in advance to handle in the rule. And so, use caution with such rules. With that out of the way...
Subtasks have an parent work item, such as a Story, and not a parent Epic. To which Epic do you want the converted Tasks linking?
Next, rather than trying to edit the work item type field directly, I recommend using the Send Web Request action to call the REST API endpoint for Bulk Move Issues. That one can specifically handle moving from one work item type to another. If you want to try that, here are some references to help:
Kind regards,
Bill
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.