Forums

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

How do you convert an existing issueType to Sub Task IssueType

Sri Vulli February 15, 2018

We have IssueType A, IssueType B, IssueType C, and Sub Task in Jira.

Team would like to create issues of IssueType C as sub tasks/child tasks of IssueType A and IssueType B.

Did anyone every convert the an actual issueType as a sub Task issueType?

Thanks

2 answers

1 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
February 15, 2018

There is no way to convert an existing type globally.

You will need to add a new sub-task type, then convert each issue of type C to it, giving each issue its new parent as you go.  Then you can remove type C.

0 votes
Sri Vulli February 15, 2018

Thanks Nic. I found this while searching the site

UPDATE jiraschema.issuetype SET pstyle='jira_subtask' where pname='IssueType A'

Do you think it will work? I need to try it out on a testing environment

Nic Brough -Adaptavist-
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.
February 15, 2018

NO!

You'll break your Jira if you do that.

You MUST use the UI to change the type between issue and sub-task.  Unless you want to also work out what to do with the parent linkage and do that as well.  And be off-line while you do it.  And re-index when it's done.

Sri Vulli February 16, 2018

Thank you Nic.

I will follow your suggestion

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events