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

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


1 badge earned


Participate in fun challenges

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


Gift kudos to your peers

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


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!


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
Community Members
Community Events
Community Groups

Regex: exact values of customfield


I have an similar issue to

My Customfield is a select-list and contains different websites, e.g.:

DomainA - Blog
DomainA - Wiki
DomainB - Blog
DomainB - Extension
DomainC - Website
DomainC - Info

In the condition of my automation I want to make sure that only websites from DomainB has been selected (using "exactly matches regular expression")

the super basic idea was:

(DomainB - Blog|DomainB - Extension)

However this does work only when one of them is selected, so in case both are selected the condition does not work 


meanwhile ended up in


 however if e.g. a website from DomainA or DomainC has been selected the condition is valid is well :( 


maybe I was already close to the solution but I am really struggeling with Atlassian regex 

1 answer

0 votes
Support Team [Clearvision]
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.
Dec 10, 2021

Hi Felix

Maybe you could try the startsWith(String str) from the jira smart values text fields documentation instead if all values are like DomainB as this would potentially be easier then using/struggling with the regex

If the regex option is the only way then the regex could potentially be as basic as 


 which would match, or more complicated like to match the space and hyphens


thanks for your idea, however the problem is, its a select-list.

So multiple websites can be selected. Furthermore I also don´t know how many websites are selected.

So can´t use the startsWith(str) 


I don´t want to know if DomainB is somewhere in the selection I need to know the opposite or kind of that ONLY DomainB has been selected and no other domain (without naming all others - because all others are way more)

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events