Forums

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

Is there a way to use regex in jira expressions using ScriptRunner Jira Cloud?

Anil Kumar
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2023

Is there a way to use regex in jira expressions using ScriptRunner Jira Cloud?

2 answers

0 votes
Anzar
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 11, 2023

Hi Anil,

You can use Script Runner script validator and add a regex in brackets like this:

issue.customfield_10000.match('^([])$')!=null


You can validate any regex against a custom field during a transition.

Thanks and let me know if this helps.

Regards,

Anzar

0 votes
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 25, 2023

Hi @Anil Kumar

To answer your question, yes it is possible. 

I suggest referring to this Community Post for more details.

Thank you and Kind regards,

Ram

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events