I want to use the JIRA public api
/jira/rest/api/2/user/search
with the https://docs.atlassian.com/aui/latest/docs/single-select.html but the parameter that's sent is `q`. Is there a way to change that so it can be `username`?
Community moderators have prevented the ability to post new answers.
Ho Josh,
Unfortunately no:
The AUI single select makes a request with a q
query parameter which is taken from the value of the input field; if you wish to filter server-side you simply need to accept this parameter and do filtering based on its value. The parameter used is not configurable. Sample URL:
http://my-server.com/searchResults?q=$valueFromInput
You need to code your own REST addon which actually can be copy of /jira/rest/api/
2
/user/search standard REST.
That was the answer I was dreading :-/ Fortunately it will be a simple add-on to the existing API that we're writing. It's just nice to use the out-of-the-box stuff sometimes.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
By the way, do you know if there's a way to make this a feature request?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Josh Wheeler , you can put ticket in: https://ecosystem.atlassian.net/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.