Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,474
Community Members
 
Community Events
176
Community Groups

Create cloned tickets with same data starting from the original ticket

Hi,

we are migrating from our Jira Core instance to Jira Work Management.

One of our projects have a huge customizations done via Script Runner that create multiple tickets starting from the original one but updating a specific custom field.

 

Scenario:

Our Backoffice need to rework massively many products (printed products) with a change in one of their information (Company Name, for example)

They start creating a ticket, inserting in one multiline custom field the list of products impacted, one per line 

The actual customization via Script Runner take the products list and creates one ticket for each product with the same summary \ description of the original one and linking each other. 

This avoid to create manually N tickets, with the same information and one different: the custom field containing the product code.

The Printing department, so, have multiple but single tickets, with the clear reference to the product to change and then they can work on them separately assigning to different users.

 

Moving to Jira Work Management, we would to stop using Script Runner for the high price change respect the hosted version. 

We alredy have migrated with success other Script Runner tasks with the internal project Automation.

We can evalulate, eventually, other plugins with a lower cost achieving the same thing.

 

Thanks

1 answer

Hi @Francesco Bramato 

I'd look into native Automation first - it can certainly create multiple Issues based on the first one being created (i.e the trigger).

It might not quite work the same way as it doesn't read data the same way as Scriptrunner in all scenarios.

For example you might...

  • Create a multi-select list custom field, with all the products
  • Set the Automation to be if Issue 1 has Products A, B, and C selected - then create Issues 2, 3, and 4

It might not be this simple - but if you could provide us the logic and/or screenshots of the step-by-step process you use with Scriptrunner, we might be able to provide some more specific alternatives :)

Ste

Hi @Stephen Wright _Elabor8_ 

thanks for the response.

Unfortunately is not so easy, we are talking about thousands products so a manual rule is not applicable.

Hi @Francesco Bramato 

Is it thousands of variations, or thousands of cloned issues - or both?

How often is this process run?

Ste

the post function runs at ticket creation.

So the user can pick from a autocomplete select, multiple, managed with Elements Connect and connected directly to our ERP.

Selecting X products, Script Runner create X tickets, cloned, one per each article, with same summary, description, saving the N article code in the custom field, and linking each other.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events