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

khirod panda December 8, 2017

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 ? 

5 answers

0 votes
Nic Brough -Adaptavist-
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 8, 2017

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.

0 votes
khirod panda December 8, 2017

i tried with 

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

this also is erring out 

0 votes
khirod panda December 8, 2017

Are you referring to like this 

 

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

0 votes
khirod panda December 8, 2017

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

0 votes
Nic Brough -Adaptavist-
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 8, 2017

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.

Suggest an answer

Log in or Sign up to answer