We have project request set up in our project.Currently whenever user raise a request to create a new project with existing key in jira,It will validate and request will be raised. Now trying to check project key which is existing but project is archived. Can you please guide to find the solution
Below is the script used to validate current project key which is not exisiting
def ProjectKey = issue.getAsString(“customfield_12605”).toLowerCase()
def newListKey = prListName.collect { it.toLowerCase() }
If (newListKey.contains(ProjectKey))
return “Project key is taken”
This script is used to validate existing project key.
How to check archived project key as well in jira