Regarding New Jira Integration with custom API

Swapnil Jain 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

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events