jira.js
jira.js copied to clipboard
How should I use `propertyQuery` with multiple properties when searching for projects
Discussed in https://github.com/MrRefactoring/jira.js/discussions/253
Originally posted by irzhywau March 21, 2023 Im actually using this API endpoint https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-projects/#api-rest-api-3-project-search-get to retrieve projects with some properties definied on them.
having 1 property query seems working fine, but once I add another property key nothing display. probably I wrongly set the query. so I'm wondering how to set such a property query correctly when using multiple properties
eg.
propertyQuery=[prop1].nested.value=yes
works
then now I want to combine the above with [prop2].value=test
?
- I've tried concat with both but obviously not working
propertyQuery=[prop1].nested.value=yes&[prop2].value=test
- tried with
propertyQuery=[prop1].nested.value=yes%26[prop2].value=test
not working - tried
propertyQuery=[prop1].nested.value=yes AND [prop2].value=test
still not working
How should I setup this correctly?
FYI, according to this comment from an Atlassian staff member in March this year, searching by multiple properties isn't possible.
There's an issue to track here: https://ecosystem.atlassian.net/jira/software/c/projects/ACJIRA/issues/ACJIRA-2667