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
Hello, Good day. You can try the REST API method : https://docs.atlassian.com/software/jira/docs/api/REST/8.18.2/#project-getAllProjects
can you please guide us in tracking it
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.