Forums

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

Automation / script behaviour

Aswathi D
Contributor
July 22, 2022

Hi ,

I want to do the below request
If someone is creating a request with filling the custom field request type : Guest user creation .
And the description contains a mail id with xxx.com ..then a pop up message should be there before creating the ticket.

How can I do this ?

 

 

 

 

1 answer

1 accepted

0 votes
Answer accepted
Ivan Lima
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.
July 22, 2022

Hi @Aswathi D, if I understood correctly, you want to check whether the inputs are valid or meet a set of criteria before creating the issue. In this case, a validator could be an option where you can display an error message or something similar. However, based on your description, you will need a marketplace app such as ScriptRunner to achieve that. What apps do you have installed? Also, do you want to scan the description field to check if the value contains the substring "xxx.com" or if the reporter email domain contains "xxx.com"?

Aswathi D
Contributor
July 22, 2022

Hi @Ivan Lima ,

Thanks for your response.

We have script runner.

I need to check the description field to check the substring xxx.com and xxx.de is there or not ..if yes ..then a message should pop up

Suggest an answer

Log in or Sign up to answer