Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Is there any API available to validate Jira Project Name while creating a project ? For Server/DC Edited

There is a Jira Standard API available to validate to Project Key(GET /rest/api/2/projectvalidate/key).

As per our requirement, we need to create a jira project programmatically through api's, we need to validate Jira Project Name.

For Jira Cloud, API is available to validate Jira Project Name(GET /rest/api/3/projectvalidate/validProjectName).

Not sure why its not made available for server/datacenter even though its a valid case and frequently needed when any project needs to be created using APIs.

1 answer

0 votes

Hello @Vishal Kharde 

 

It seems that there is not a api for this, you will need to get all project of your instance and look into the list.

Thanks for the response but this lookup approach is time consuming(assume if there are more than 100 projects). Also there will be a separate implementation needed to check the formating and length of the project name. It will be better if API is provided for the same which does all the validation for the project name.

A feature request has been raised to implement the API for validating project name. 

https://jira.atlassian.com/browse/JRASERVER-71636

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

📹 Favorite Trello templates

Hello Community!  My name is Brittany Joiner and I am a Trello enthusiast and Atlassian Community Leader. In this video, I'll share my favorite Trello templates. Templates mentioned in ...

75 views 4 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you