Forums

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

Condition "Match partial list of possible field values"

Sam Miller July 15, 2024

I have a customfield with 100 possible single select values. In my automation I want to check if one value of asublist of the list of more or less 50 values is selected.
If one of the 50 values is selected, I want to perform further actions.

I did not find a similiar task although I might not be the first to ask this question.
I cant use the Advanced Compare condition with a Regular expression, because the characters of the Input of "Second Value" is limited.

3 answers

2 accepted

2 votes
Answer accepted
Dick
Community Champion
July 15, 2024

Hi |Sam,

From your question I notice that you're already using automation. Good on you. 
You might want to check the smart value abbreviation techniques that Atlassian shares, to abbreviate the input of the second value.

0 votes
Answer accepted
Mohamed Benziane
Community Champion
July 15, 2024

Hi,

You could try this Jira automation conditions | Cloud automation Cloud | Atlassian Support.

This can work if your list doesn't change.

0 votes
Sam Miller July 15, 2024

The existing answers - as far as I observe - do not solve my question. I cant solve my issue with the links.

The list is unordered.

Dick
Community Champion
July 15, 2024

You can access the names of the list using the technique Atlassian shares and then use the suggested abbreviation technique to trim them down. 

Some of the Atlassian pages are really worth it !

Sam Miller July 15, 2024

My issue is that the Input validation limits the characters I can write to the condition field and I have around 50 values that need to be matched. I dont want to implement 20 "advanced Conditions" in a row. It is an unordered list so that I can not simply cut the list into two parts.

Suggest an answer

Log in or Sign up to answer