The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

How i can change issue type scriptrunner?

Ruslan
August 9, 2022

How i can change issue type scriptrunner?

my types have one workflow, im trying use 

issue.setIssueTypeId("1") but its not work 

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

2 votes
Answer accepted
Fabio Racobaldo _Catworkx_
Community Champion
August 9, 2022

Hi @Руслан ,

your code is ok but after doing that you need to update issueitself through https://docs.atlassian.com/software/jira/docs/api/8.0.1/index.html?com/atlassian/jira/issue/IssueManager.html (updteIssue method)

Hope this helps,

Fabio

Ruslan
August 9, 2022

Hi, Fabio.  

Its working, thanks a lot. 

Have a good day!