Forums

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

Can Automation for Jira create multiple issues based on the values selected in a multi-select field?

Jeramy
Contributor
April 17, 2025

Is it possible for Automation for Jira (Data Center) able to create multiple issues based on the value in a multi-checkbox field?

 

Here's my scenario. A provisioning ticket comes into Jira. The Cloud Specialist sets up the environment. Once they finish setting up the environment, they populate two custom fields:

  • Hosting Code (simple text field)
  • Hosting Environment (multi-select checkbox field)
    • Dev
    • QA
    • UAT
    • Test

If my specialist selects Dev and QA, I want Automation for Jira to create two tickets in a different project with the summary that includes the Hosting Code and the Hosting Environment for each option selected.

 

Example:

ABC-1 comes into Jira. My specialist puts the issue In Progress and starts working on the ticket. When they are done and select Closed, I want Jira to create two tickets in project XYZ.

 

I'd like the automation to update the summaries of each to something like this:

  • Create Patching Schedule for Hosting Code - Hosting Environment (First option)
  • Create Patching Schedule for Hosting Code - Hosting Environment (Second option)

 

I found the documentation that claims this might be possible with Jira Cloud, but I'm using Jira Data Center. :(

 

If anyone has any ideas, that would be awesome. My next solution is a complicated script with ScriptRunner, but I'd like to avoid that if possible.

 

Thank you.

 

2 answers

1 accepted

Suggest an answer

Log in or Sign up to answer
2 votes
Answer accepted
Mohamed Benziane
Community Champion
April 17, 2025

In Jira Cloud you can put the data of the field into a smartvalue and then add an advanced branch for each element in thz smartvalue.

unfortunately this advanced branching doesn't exist yet in jira data center

https://jira.atlassian.com/browse/JIRAAUTOSERVER-749

Jeramy
Contributor
April 18, 2025

Yeah, that's what I thought/was concerned about. I was hoping...you know. lol.

 

Thank you @Mohamed Benziane .

Heiko Gerlach April 19, 2025

I recommend using Scriptrunner Action in Automation, this is more flexible and easy to achieve.  Or use a script listener instead, without the need of Jira Automation. 

Cheers Heiko

0 votes
Stephen_Lugton
Community Champion
April 22, 2025

@Jeramy I use Cloud not Data Centre, but if data centre automation allows for if/else can you just use that?

Jeramy
Contributor
April 23, 2025

@Stephen_Lugton - Thank you for the response. Data Center does have the if/else feature. I used that in the original test, but Jira acted as if it couldn't do the if/else. I'll go back and look to see if I set up something incorrectly. Thank you. :)

TAGS
AUG Leaders

Atlassian Community Events