Forums

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

script groovy with getissue

linda.zghendy
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 21, 2021
hello,
 
we use a script Groovy (plugin Scriptrunner) in Jira 7 to create a new issue from a workflow to an another workflow
 
we use "import com.atlassian.jira.issue.IssueFactory" like this:
 
IssueFactory issueFactory = ComponentAccessor.getComponent(IssueFactory)
[...]
MutableIssue newIssue = issueFactory.getIssue()
 
but with Jira 8, the value newIssue returns null.
 
can you help us please so "issueFactory.getIssue()" works correctly? what shall we modifiy ?
 
Thanks
 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events