Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to automatically create sub tasks on parent issue creation?

TSY_J April 11, 2019

Hello, my requirement is that I want to create sub tasks automatically and assign automatically to the selected users in single group selection upon parent issue creation. 

Example:

Group A has 5 users.

During parent issue creation screen, i select group A from the single group selection field. I expected automatically create 5 sub tasks and assign to each of the member in Group A. 

If the group i selected during issue creation has 10 members, then it will create 10 sub tasks and assign to each of the member.

 

I tried "automation for Jira" and "Create on Transition for Jira" plugins, but it doesn't work for my case.

 

Understand that ScriptRunner might be able to achieve this, however i am not familiar with the scripting, anyone can help?

Thanks in advance.

 

1 answer

0 votes
Dave Bosman [Realdolmen]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2019

Hi @TSY_J 

You should be able to solve this with the post function "Create / Clone issue(s) (JMWE add-on)" from the JMWE plugin

Another good candidate to solve this is scriptrunner

Regards

Dave

TSY_J April 11, 2019

Hi Dave,

 

Unfortunately, JMWE doesn't meet what i need, as i want to create the sub tasks based on the number of the members in a group.

 

Yes, i am trying scriptrunner.

Thanks for your suggestion.

David Fischer
Community Champion
April 11, 2019

Why can't you use the multiple issue creation feature of JMWE?

TSY_J April 12, 2019

Hi David, 

 

As we have Script Runner plugin in our instance, so i prefer to use scriptrunner.

Dave Bosman [Realdolmen]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 12, 2019

Hi @TSY_J 

As we have Script Runner plugin in our instance, so i prefer to use scriptrunner.

If you already have scriptrunner, it would not make sense using another paid plugin. 

 

Unfortunately, JMWE doesn't meet what i need, as i want to create the sub tasks based on the number of the members in a group.

Just for future reference. It is possible to create multiple sub-tasks with JMWE

Last week i had to create a project with a custom user field, and per user in that field a new issue had to be created similar to your requirements and it works like a charm. So it should also work with usergroups.  

 

Regards

Dave

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events