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 Apr 22, 2018 in Jira Software

How-to setup a secured Jira Software 7.9.0 on Ubuntu 16.04.4 in less than 30 minutes

...PermissionsStartOnly=true User=www-data Group=www-data ExecStart=/opt/jira/bin/startup.sh ExecStop=/opt/jira/bin/shutdown.sh TimeoutStartSec=120 TimeoutStopSec=600 PrivateTmp=true [Install] WantedBy...

1,499 views 10 12
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