I've written the following code
createSubTask(Map<String, Object> transientVariables, Map<String, String> args)
Issue originalIssue = (Issue)transientVariables.get(
Issue parentIssue = originalIssue;
MutableIssue issueObject =
//issueObject.setSummary(replaceHelper.findReplace((String)args.get("field.subIssueSummary"), parentIssue, originalIssue, transientVariables));
Map params =
User user = ComponentManager.getInstance().getJiraAuthenticationContext().getLoggedInUser();
Issue subTask =
.createSubTaskIssueLink(parentIssue, subTask, user);
It is creating the issue but not creating the subtask issue returning //Create Issue:null//
Create a separate workflow for bug issuetype and apply post function provided by Create on transition plugin as said by Naren on the crete transition of this workflow.
Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...
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