Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to filter when using GET /rest/api/2/project/search?


I'm using the api GET /rest/api/2/project/search with Python for getting a list of projects. I would like to filter by projectTypeKey, projectCategory or even searching the name of the project in like... But I do not know exactly how to do it or if it is even possible.

Could you help me? This is the code that I'm using:


connection_params = get_connection_params(pard, data)

url = '%s/rest/api/2/project/search' % connection_params['url']

params = {
'jql': 'name ~ "myText" AND projectCategory in ("category1", "category2") order by lastViewed DESC',
'projectTypeKey': 'software',
'fields': '[key, summary, description]',
'maxResults': '100',
response = requests.get(url=url,

 Thank you!

1 answer

0 votes
Warren Community Leader Jan 02, 2020

Hi @Lara Gonzalez Villanueva 

If you use the v3 API you are able to pass in filter parameters which should help you.

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you