Do you know if can be possible to be created automatically an issue (for example a Story) when Epic issue-type goes through "Analyzed" status with a script/post function?
It is needed to be implemented this on Jira Server.
Thank you !
So, there is a lot of extra code in my script, but here is the section where I actually create a new issue. Some imports are necessary. Check it out and let me know if you have any questions about it.
IssueService issueService = ComponentAccessor.getIssueService()
IssueInputParameters issueIP = issueService.newIssueInputParameters()
newIssue = issueService.validateCreate(jiraAdminUser, issueIP);
IssueService.IssueResult iResult = issueService.create(jiraAdminUser, newIssue);
Now it's working to create a Story automatically when the Epic goes to "Analyzed".
But the wrong part is that it always creates a Story when the transition is accessed(because it's a shared transition).
Basically I need to be created only one "Story" on this shared transition.
Thank you !
Hello Community members! We’re wrapping up the end of JSM June with an Ask Me Anything (AMA) with the Jira Service Management product team. This is your chance to ask all your ITSM questions to o...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events