Forums

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

Groovy script for project key already existing

Anshu Raina July 8, 2020

Want some help on groovy script to check if a project key already exists or not. I am using a text field which will need a user to enter a project key in there and if that project key matches to one already existing, it should show up some error message. 

Any help here, please!

1 answer

0 votes
Vikrant Yadav
Community Champion
July 9, 2020

Hi @Anshu Raina  for this you need to create a scripted validator, which validate the field value.

OR you can use Regex validator. 

 

https://community.atlassian.com/t5/Jira-Core-questions/How-to-add-multiple-projects-validation-in-simple-script-runner/qaq-p/303839

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events