Validate archived project key

rajeswari saravanan April 1, 2024

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

1 answer

0 votes
Mohanraj Thangamuthu
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 1, 2024
rajeswari saravanan April 2, 2024

Hi @Mohanraj Thangamuthu 

can you please guide us in tracking it

Suggest an answer

Log in or Sign up to answer