If a sprint is created tasks should automatically get created under the sprint ,

Shamshuddin Althamash K March 8, 2019

Hi Friends,

 

Greetings for the day.

 

We have written a custom Script Listener in JIRA Software  in Script runner.

Where in   when a Sprint is created automatically 3 tasks will create .

These 3 tasks are  getting created and going to backlog currently .

Please somebody help me to make the Tasks create under that current Sprint but not in the backlog.

 

Tasks should be created under that current sprint  ,, they should not go to backlog.

 

Thanks in Advance

 

Thanks,

Sham

1 answer

0 votes
Tarun Sapra
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2019

Hello @Shamshuddin Althamash K 

Here's the code sample as to how you can add an issue to sprint using the Script runner plugin.

https://gist.github.com/jechlin/9789183

David Read June 9, 2021

Thanks Tarun! Will this code work for JIRA cloud?

Suggest an answer

Log in or Sign up to answer