Field 'fields' does not exist or you do not have permission to view it. Edited

Hi , I am trying to get particular feilds from REST API . when i try from POSTMAN following query it works fine 

 

https://XXX/rest/api/latest/search?jql=resolution=Unresolved&fields=summary&order by updated DESC

 

but when i call from my application it says " Field 'fields' does not exist or you do not have permission to view it."

 Note :- In both the cases i am using same userid/password for authentication 

Any help on this ? 

1 comment

You've structured the call as <part of query><field list><part of query>.  Try putting the whole JQL part in one go, followed by the fields.

Sorry, could not understand could you please give an example here 

i tried with 

https://XXX/rest/api/latest/search?jql=resolution=Unresolved&fields=summary 

this also is erring out 

Ok, that call is working absolutely fine for me as well, with all three methods I tend to use for REST calls.

I think you'll need to look closely at what your application is doing when it makes the call, because it clearly is not sending the valid data my calls are, or the ones you are using in Postman.

Comment

Log in or Sign up to comment
Community showcase
Published Mar 05, 2018 in Jira Software

Jack Graves: Real Ale enthusiast with a knack for Jira Software implementation

@Jack Graves [AC] first caught our eye with his incredible breakdown of what, in his opinion, can make or break a Jira software implementation. (Read his thoughts on this thread)! In this follow...

96,854 views 4 14
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you