jira icon indicating copy to clipboard operation
jira copied to clipboard

Give subtasks a "Convert to Issue" option.

Open guy4261 opened this issue 3 years ago • 1 comments

Problem trying to solve

Write a script for converting an issue's subtasks to actual issues. Each new issue should be linked to the original issue (as a parent).

This way I can create subtasks on the web UI and quickly convert them to issues (which allows to give them story points, etc).

Possible solution(s)

Given an issue ID, for each subtask of this issue, convert to issue + link to original issue.

Alternatives

I could define said issues by code but that would be less nice and less friendly to my non-programming colleagues.

Seems like I can't do it right now:

>>> subtask.update({"subtask": False})
JIRAError: JiraError HTTP 400 url
response text = {"errorMessages":[],"errors":{"subtask":"Field 'subtask' cannot be set. It is not on the appropriate screen, or unknown."}}

Additional Context

On an issue's page, click on the ... icon, then "Convert to Issue" - this is the functionality I'm looking for.

Screen Shot 2023-01-04 at 11 51 14

guy4261 avatar Jan 04 '23 09:01 guy4261

Ugh, this was impossible back at mid-2021:

https://community.atlassian.com/t5/Jira-questions/Convert-sub-task-to-issue-story-new-feature-task-using-REST-API/qaq-p/1510969

Who knows if they managed to solve this 18 months later??

guy4261 avatar Jan 04 '23 10:01 guy4261