Forums

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

Post function to change issue types

Kunle kuteyi
Contributor
April 5, 2018

I need to be able to change an issue type when its closed.

3 answers

1 vote
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.
April 5, 2018

Issue type is a structural thing, and changing it is not trivial.  It can only be done easily if the old and new issue types are configured identically.

I'd question the desire to change the issue type as a matter of course.  It suggests a broken process rather than a useful step.  Are your users routinely raising the wrong type all the time?

Kunle kuteyi
Contributor
April 6, 2018

Yes. Users routinely raising the wrong type all the time?

0 votes
Mahesh S
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.
April 5, 2018

If you have script runner, you can write a script in the post function of workflow. There you need to refer to java APIs and move the issue to same project & another issue type.

0 votes
Alana Fernando
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.
April 5, 2018

@Kunle kuteyi,

I found that there is a way by adding a Script post function method > Clones an issue, and links.

But this way a new ticket will create and the old ticket still exists. 

 

https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events