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

2 votes
Answer accepted
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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! 

Suggest an answer

Log in or Sign up to answer