Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JMWE Create Multiple SubTasks using Create Issues Post Function

Roman Treynker May 21, 2024

I apologize in advance as I believe I'm just missing something obvious.

We're building a New Hire Form. Once parent ticket is approved, on Transition via Post Function... using JMWE "Create / Clone Issue(s) Post Function" I was hoping to create multiple subtasks, with different Summaries (titles) for each one - example:

  • Email
  • Domain Account
  • MS Teams 

(ideally, it would be the name for that subtask + issue.getAsString("customfield_10512" - Full Name field from parent ticket... but I'll take what I can get). I want to avoid using automation and we purchased JMWE mainly for this purpose. We used to use "Create on Transition" addon, but that required us to have a separate for each subtask which is really messy and hard to make changes, when need to. Any help is greatly appreciated!! Thank you in advance! 

1 answer

1 accepted

1 vote
Answer accepted
David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2024

Hi @Roman Treynker 

you can indeed achieve this using JMWE's Create / Clone Issue(s) Post Function. You need to select the "Multiple issue creation" option and for the Iterator script use:

["Email","Domain Account","MS Teams"]

 Then for the value of the "Summary" field, you can use this "Groovy Template" value:

$it - ${issue.getAsString("customfield_10512")} - ${issue.get("summary")}

There are some useful examples here: https://innovalog.atlassian.net/wiki/spaces/JMWE/pages/1223884853/Advanced+configuration+and+usage+of+the+Create+issue+post-function  

Roman Treynker May 22, 2024

Thank you, David!!

And I really appreciate the link. This will be a huge help going forward!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.22.6
TAGS
AUG Leaders

Atlassian Community Events