Does anyone know a Jira Cloud API endpoint that allows me to fetch a list of Jira projects that have a certain project property set?
It seems that there is no way to do this directly and the only way I found so far is to use the deprecated Get all projects endpoint with the properties parameter. Then filter the results server-side.
Some insights from my investigation:
- The newer Get projects paginated endpoint to search projects does not support the properties parameter. Strangely though the response JSON does contain the properties property - it seems to be always empty though.
- Jira expressions do not seem to help in this case. They only allow querying in the context of a single project.
I hope I missed something. If not, changing our implementation to the deprecated endpoint seems to be the only option for now.
@Atlassian any chance to get the properties parameter supported for the Get projects paginated endpoint?