/
Create additional issues
Create additional issues
If your JEMH version is recent you should have a method on jemhUtils to create a new result set, within which additional parameters can be set, to drive issue creation (or possibly update!)
See Script Context for a link to jemhUtils, if the following is present, it can be used:
Here is the script showing how a new 'result' is created, and added to.
// create the main issue
resultMap.put("labels", "hello-world");
resultMap.put("project", "TEST");
resultMap.put("priority", "medium");
resultMap.put("issueType", "task");
resultMap.put("summary", subject);
resultMap.put("comment", body);
// create a duplicate
var secondResult = jemhUtils.createResultSet();
secondResult.put("labels", "duplicated");
secondResult.put("project", "SCRUM");
secondResult.put("priority", "high");
secondResult.put("issueType", "bug");
secondResult.put("summary", 'DUPE: '+subject);
secondResult.put("comment", 'DUPLICATE ISSUE\n'+body);
, multiple selections available,
Related content
Create Issues
Create Issues
Read with this
Create multiple issues from multiple To/Cc addresses in specific projects.
Create multiple issues from multiple To/Cc addresses in specific projects.
Read with this
Using an external reference key to identify a ticket instead of using Ticket Number generated by Jira
Using an external reference key to identify a ticket instead of using Ticket Number generated by Jira
Read with this
Enable Issue Created Notification for both Portal and JIRA Email Users (and prevent duplicate notifications)
Enable Issue Created Notification for both Portal and JIRA Email Users (and prevent duplicate notifications)
Read with this
How to use Script Pre-Proc Task
How to use Script Pre-Proc Task
Read with this
Create multiple issues from a single email
Create multiple issues from a single email
Read with this