Forums

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

The API - Search for issues using JQL is giving 400 response in postman.

Kumar January 22, 2024

  The API - Search for issues using JQL : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-search/#api-rest-api-3-search-get is giving 400 error response in postman. 

GET request: 'https://your-domain.atlassian.net/rest/api/3/search?jql=assignee=charlie'

"errorMessages": [
        "Field 'assignee' does not exist or this field cannot be viewed by anonymous users."
    ],

Can anyone help me, how to resolve this issue ?
Thanks

2 answers

0 votes
Joseph Chung Yin
Community Champion
January 23, 2024

@Arun -

What credential are you using when calling the REST APIs?  Does the creds have the appropriate access to your projects/content?  

Please advice.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

0 votes
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2024

Your endpoint seems good, are you properly authenticating?

Kumar January 22, 2024

Hey @Kalyan Sattaluri ,
    Yes, I have included basic authentication for the API in the postman and and have used username as email and password as API token.

Is there any other than this, that I'm missing ?

Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 22, 2024

Credentials are good...Can also try to API 2 version of URL below..

'https://your-domain.atlassian.net/rest/api/2/search?jql=assignee=charlie'

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events