The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can i get more selected projects with Jira REST API

Decho Iliev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 4, 2020

Hi,

I can get project with
GET /rest/api/3/project/search?query=TEST

But how i get more then one selected project maybe like "TEST,TEST1"?

Thanks,
Decho

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Mehmet A _Bloompeak_
Atlassian Partner
September 4, 2020

Hi @Decho Iliev ,

Query parameter works with exact matching. So it is not possible.

You can get all projects using /rest/api/3/project/search . It returns an array of projects. So you need to filter the result by key starting with TEST.

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events