Forums

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

create a Subtask for each user in a multi-user picker using script-runner

Devops November 30, 2018

Hello Folks,

I am trying to create a Subtask for each user in a multi-user picker using script-runner post functions and assigned to them respectively.

 

Appreciate any idea on how to get there?

1 answer

0 votes
Vasiliy Zverev
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.
December 3, 2018

Dear Naresh, hi!

At first try to have a look at this plugin: https://marketplace.atlassian.com/apps/1210972/quick-subtasks-for-jira?hosting=server&tab=overview

If you want to use script runner, I am lazy to write all code, but can help you with idea.

1) get list of user from multy-user picker

2) for each user create a subtask. Use IssueInputParameters to set initial values

3) Reindex parent and subtask issues.

Best regards,

Vasiliy

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events