I am trying to get all projects using rest api rest/api/2/project/search and it is returning empty array as response even though I have given permission to lead and my user to browse project. I am using api token for authentication
Hi @Maitri Dalal
Welcome to the community!!
Please check this doc: https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get
What is the response when you simply paste it into browser and search?
https://xxxxx.atlassian.net/rest/api/3/project/search
Hi,I am getting {"self":"https://xxx.atlassian.net/rest/api/3/project/search?maxResults=50&startAt=0","maxResults":50,"startAt":0,"total":0,"isLast":true,"values":[]}.
So, you don't get project list as a response in browser. I also assume that you can succesfully view projects in Jira UI?
It looks like you're new here. Sign in or register to get started.