The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding New Jira Integration with custom API

Swapnil Jain
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2022

Hi Team

When m trying to  hit  new JIRA api (https://natwest.atlassian.net/projects/JEDI/summary) from Postman or command prompt it is not allowing to do so and giving error.

Rest Api- https://natwest.atlassian.net/rest/api/2/search?jql=project%20%3D%20JEDI%20AND%20type%20%3D%20Test%20AND%20labels%20%3D%20MasterRegressionPack%20AND%20%22Automation%20Status%22%20%20in%20(%22Automated%22%2C%22Suitable%22%2C%22To%20be%20maintained%22)

The error is- 

{"errorMessages":["The value 'JEDI' does not exist for the field 'project'.","Field 'type' does not exist or this field cannot be viewed by anonymous users.","Field 'labels' does not exist or this field cannot be viewed by anonymous users.","Field 'Automation Status' does not exist or this field cannot be viewed by anonymous users."],"warningMessages":[]}
However it is running on browser.
Please help with its configuration. How to configure it in our local environment.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
December 2, 2022

Hi @Swapnil Jain ,

welcome to the Atlassian community!

That URL is not an API but a link to land on the project page. If you need to retrieve project through an api you should use the following api provided by JIRA https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-projectidorkey-get

Hope this helps,

Fabio

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events