You can do it using one of the scripting utilities plugin like script runner or jjupin, jss.. or develop you own plugin.
Look to this links its can help you and give you more ideas.
I used the Script runner plugin for similar task. On create transition, I add a post-function that creates another issue.
Here is the sample code.
def projectName = "Dev Tools" // Name of project you want to create the issue in projectMgr = ComponentManager.getInstance().getProjectManager() def wasIndexing = ImportUtils.indexIssues ImportUtils.indexIssues = true issueObject = issueFactory.getIssue() issueObject.setProject(projectMgr.getProjectByName(projectName)) issueObject.setIssueTypeId("1") // normal subtask // set subtask attributes issueObject.setFixVersions(issue.getFixVersions()) issueObject.setAffectedVersions(issue.getAffectedVersions()) issueObject.setPriority(issue.getPriority()) issueObject.setSummary(issue.summary) issueObject.setDescription(issue.getDescription()) issueObject.setReporter(issue.getReporter()) issueObject.setAssignee(issue.getAssignee()) // Create subtask Map params = new HashMap(); params.put("issue", issueObject); Issue StreamReq = issueManager.createIssueObject(authenticationContext.getUser().getName(), params)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs