Dear Community,
I'm currently using the standard trial version of Jira, which was updated today from the free version to a 14-day trial.
I want to test the API and upload test cases from my own software to Jira. For this, I urgently need the project ID and project key. Where can I find these?
Any help would be greatly appreciated.
Thank you in advance and best regards.
Mo
You can find the Jira space key in the URL if you click on any project.
For example, in the below URL DEV is the Jira space key
https://mysite.atlassian.net/jira/software/projects/DEV/boards/1
Once you have the space key, you can find out the space id by doing a REST call in the brower.
https://mysite.atlassian.net/rest/api/3/project/DEV.
Hey @Mohammed Abu-Rugaya ,
Welcome to Atlassian Community!
You can find the project key in the project URL (as explained by @Hitendra Chauhan ), or go to the Project Settings (Space settings) > Details tab to get the details of the current and previous project keys.
The project ID can be found using the API endpoint.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your response,
i tried the way explained by @Hitendra Chauhan but faced some issues in my doing.
Let me show you my projects in my screenshots:
These below are my Test-Projects:
In this screenshot i assume i have marked the project-key, right? Im not sure.
When i put this project key in the link provided by @Hitendra Chauhan
https://peritia-itc.atlassian.net/rest/api/3/project/PERIT3-2
im getting the following output in the browser:
{"errorMessages":["Es konnte kein Projekt mit Schlüssel 'PERIT3-2' gefunden werden."],"errors":{}}
That means : No project found with this key 'PERIT3-2'.
Any hint what is wrong here?
Thank you :-)
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.
Hi @Mohammed Abu-Rugaya Welcome to the Atlassian Community
The problem is that PERIT3-2 is not a project key, but an issue key. In Jira, issue keys are made up of the project key plus a number (for example, PERIT3-2 means issue number 2 in project PERIT3). So the actual project key you need to use is just PERIT3, without the “-2”. That’s why your API call is failing because the endpoint expects only the project key. If you change your request to use PERIT3, it should work correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i tried this as well but without success.
The URL i used is now without the "-2":
https://peritia-itc.atlassian.net/rest/api/3/project/PERIT3
The output is:
{"errorMessages":["Es konnte kein Projekt mit Schlüssel 'PERIT3' gefunden werden."],"errors":{}}
It's the same output like before. There is no project with the key "PERIT3".
Is the URL correct as shown above?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Your URL looks correct, and using PERIT3 as the project key is probably right based on the issue key PERIT3-2. The error you’re seeing is likely not the key, but because of authentication or permissions.
In Jira Cloud, simply opening the API link in a browser usually doesn’t work. You need to use your email and an API token to authenticate, and make sure your account has access to that project. If not, Jira can return “project not found” even when the project actually exists.
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.