Bobswift (Create on Transition) - multiple tickets based on a number value

Can I create multiple tickets dynamically based on user entered number value on the screen?

Example: User enters a value of '5' for a custom field on the UI (during transition). Can I make the add on create 5 JIRA issues instead of 1 JIRA ticket with the custom field value of '5'?

2 answers

@Bob Swift [Bob Swift Atlassian Add-ons]: this one is for you smile.

Yes, use the substitution variable function list(startNumber, endNumber) in the multiple issues field - see Substitution variables. It simply produces a list of numbers. In your case it would be something like

%function_list(1, %my custom field name%)%

I tried this out and the number of tickets seems to exponentially increase (depending on the counter of the ticket #).

***************************************

For example:

1.The original ticket # was TEST-143. With the value of '1' -> 143 tickets were additional tickets were created.

2. When the original ticket # was TEST-30, with the value of '2' -> 60 tickets additional were created.

 

Wondering if there is an indexing issue.. 

I got it to work. Was an indexing issue. Thanks.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,846 views 12 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot