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

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.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events