How to add validator "contains x word"

Javier Peraita
Contributor
October 2, 2023

Hello!

We want to add a validator to the create transition of a workflow so request types cannot be created if the custom field "Link" does not contain "contract". It may have additional text before and after the word "contract". We have tried using validators but we are not able to find this option.

Can anyone help? Thank you so much!

1 answer

0 votes
Nic Brough -Adaptavist-
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.
October 2, 2023

What type of field is "link" and what validators have you tried to use?

Javier Peraita
Contributor
October 2, 2023

Hey @Nic Brough -Adaptavist- 

It is a short text custom field and we tried to use the Regular Expression Check validator in the workflow. However we don't know how to set the condition "contains the word "contract"":

Screenshot 2023-10-02 132351.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events