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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,500 views 15 20
Read article

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