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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 21, 2018 in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

1,221 views 10 18
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