How to add validator "contains x word"

Javier Peraita 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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 2, 2023

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

Javier Peraita 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