Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should I use propertyQuery with multiple properties when searching for projects #274

Open
MrRefactoring opened this issue Aug 30, 2023 Discussed in #253 · 1 comment
Labels
help wanted Signals that additional assistance or expertise is needed on a particular issue or feature. question Raised for inquiries, clarifications, or discussions related to the project.

Comments

@MrRefactoring
Copy link
Owner

Discussed in #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?

@MrRefactoring MrRefactoring self-assigned this Aug 30, 2023
@MrRefactoring MrRefactoring added help wanted Signals that additional assistance or expertise is needed on a particular issue or feature. question Raised for inquiries, clarifications, or discussions related to the project. labels Oct 5, 2023
@MrRefactoring MrRefactoring removed their assignment Oct 5, 2023
@MrRefactoring MrRefactoring pinned this issue Oct 5, 2023
@MrRefactoring MrRefactoring added good first issue Highlights beginner-friendly tasks, ideal for those looking to contribute for the first time. and removed good first issue Highlights beginner-friendly tasks, ideal for those looking to contribute for the first time. labels Oct 5, 2023
@jbrunton
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Signals that additional assistance or expertise is needed on a particular issue or feature. question Raised for inquiries, clarifications, or discussions related to the project.
Projects
None yet
Development

No branches or pull requests

2 participants