Hello,
I'm new in scripting with ScriptRunner and I am struggling to find the best way to implement what I want.
I want to write a script in ScriptRunner where when a new Issue (of type Feature for example) is created, it creates automatically four other Issues (of type Activity for example), Sub-Issues NOT sub-tasks, with a specific Summary and creates the Links between the Issue father "Is implemented by" Sub-Issues child's.
Can anyone help me on this?
BR,
Sofia
Community moderators have prevented the ability to post new answers.
Hello,
This doesn't help me much because I don't know how to write the code.
BR,
Sofia
Ah, good point. I'd start with the built in script at https://jamieechlin.atlassian.net/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Createasub-task
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You use IssueService to create issues, then IssueLinkManager to create the links between them. If you google for those two service classes you should find enough to get going.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just to clarify - you do NOT want sub-issues/tasks. You want to have a setup where "User creates a Feature, and four other issues of type xyz appear at the same level, with links of type abc linking them to the Feature that spawned them"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Community moderators have prevented the ability to post new answers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.