I want to create issues with smart value

koutarou ishibashi September 22, 2023

Please forgive me because I am not good at English.
I want to create as many issues as I set in Select List (multiple choices).
In order to realize it with JIRA automation, we would like to set it with smart value.

Is it possible to create challenges with smart values?

3 answers

2 votes
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 25, 2023

Hi @koutarou ishibashi 

To clarify your scenario, are you trying to create a new issue for each value selected in the multiple-select field?

If so, you could use an Advanced Branch to iterate over the values in the multiple select field, and then create the issues.  Please look here to learn more about that technique:

https://community.atlassian.com/t5/Automation-articles/Branching-over-smart-values-in-Jira-Automation/ba-p/1741935

Kind regards,
Bill

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2023

agreed and here is an example below. I tested this with Components field and also a multi-select checkbox field. Tasks were created and the name (value) of each multi-selection was placed in the Summary.

2023-09-25_15-44-30.jpg2023-09-25_15-45-04.jpg

Like Bill Sheboy likes this
0 votes
Aaron Geister
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2023

@koutarou ishibashi 

I hope this finds you well and as @Trudy Claspill as stated this can be done with automation for jira.
Here is a smart value link to reference https://support.atlassian.com/cloud-automation/docs/examples-of-using-smart-values-with-lists/

You can use the smart values {{issue.fieldName.value}} if you need. But I think you can possibly do it another way.

Here is a guess at an automation that might help or work.

Trigger: Field value change: Multi Select list field of choice

condition: If else
If multi select field includes: A B C
Then create new issue A B C

If else  multi select field includes D E F
Then create new issue D E F

If else multi select field includes G H I
Then create new issue G H I

I think this is what you might be trying to do. You have to put the action in the if statement.

0 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 22, 2023

Hello @koutarou ishibashi 

What type of value are you setting in the Select List?

How does that relate to the number of issues you want to create?

koutarou ishibashi September 24, 2023

For example, I have multiple selection from A to Z.

I would like to create a Shikumi that if A and B are selected, Issue A and Issue B will be created, and if A, B, and C are selected, Issue A, Issue B, and Issue C will be created

koutarou ishibashi September 24, 2023

Is it possible to create issues with smart value in the first place?

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 25, 2023

It is possible in an automation rule to add a Condition to check a field, and if the field meets the condition then you can follow that with an Action to Create Issue.

However, using a single rule to iterate through a multi-selection list to find out which values are selected is more challenging. It is not something I've done before, so I've raised your question among the community leaders to see if another with more experience can provide advice.

Cassie the Jira Mechanic
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 28, 2023

I've recently answered something similar here: 
Solved: Create cascading custm fields options with automat... (atlassian.com)

You will need to know the select list values ID and you can find it like I have shown in the answer above.

Then you can use an if else statement look for that specific value selection and then create your action of creating a ticket. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events