You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add a new filter "Stichwörter" (labels), type: INCLUDE => dropdown shows "No options"
try to search for the string "test" in dropdown => dropdown shows "No options"
Second request
REQUEST (TRIGGERED BY MM): GET https://<mm url>/plugins/jira/api/v2/get-search-autocomplete-fields?fieldValue=test&fieldName=Stichw%C3%B6rter&instance_id=https%3A%2F%2F<jira url>
RESPONSE: {"results":[]}
PROBLEM in REQ URL: fieldName=Stichw%C3%B6rter (has to be "labels", not the german equivalent)
First debug api call
I replaced fieldName=Stichw%C3%B6rter with fieldName=labels
REQUEST: GET https://<mm url>/plugins/jira/api/v2/get-search-autocomplete-fields?fieldValue=test&fieldName=labels&instance_id=https%3A%2F%2F<jira url>
RESPONSE:
{"results":[{"value":"test","displayName":"\u003cb\u003etest\u003c/b\u003e"},{"value":"testinstallation","displayName":"\u003cb\u003etest\u003c/b\u003einstallation"},{"value":"testvw","displayName":"\u003cb\u003etest\u003c/b\u003evw"},{"value":"TEST","displayName":"\u003cb\u003eTEST\u003c/b\u003e"},{"value":"Test","displayName":"\u003cb\u003eTest\u003c/b\u003e"},{"value":"Test_JQL","displayName":"\u003cb\u003eTest\u003c/b\u003e_JQL"},{"value":"Testauftrag","displayName":"\u003cb\u003eTest\u003c/b\u003eauftrag"},{"value":"Testi","displayName":"\u003cb\u003eTest\u003c/b\u003ei"},{"value":"Teststichwort","displayName":"\u003cb\u003eTest\u003c/b\u003estichwort"},{"value":"Teststory","displayName":"\u003cb\u003eTest\u003c/b\u003estory"},{"value":"Testumgebung","displayName":"\u003cb\u003eTest\u003c/b\u003eumgebung"}]}
=> It works
Second debug api call
I took the autoCompleteUrl from the response of the first request
The autocompletion of other fields (e.g. "priority") work as expected. The displayName for "priority" is "Priorität", which is selectable in the filters' dropdown menu. But the dropdown on the right shows all priority values.
Why doesn't this work with the labels field?
The text was updated successfully, but these errors were encountered:
Hey there,
we have a problem with the autocompletion for the field "labels" (as filter) when trying to create a new subscription.
Our environment in short:
Steps to reproduce
Current behaviour
Expected behaviour
Troubleshooting
Google Chrome Debugging Console:
First user action
/jira subscribe edit
, add new subscription, project "TESTI" is auto-selectedFirst request
Second user action
Second request
First debug api call
I replaced
fieldName=Stichw%C3%B6rter
withfieldName=labels
=> It works
Second debug api call
I took the autoCompleteUrl from the response of the first request
=> It works
Conclusion
The autocompletion of other fields (e.g. "priority") work as expected. The displayName for "priority" is "Priorität", which is selectable in the filters' dropdown menu. But the dropdown on the right shows all priority values.
Why doesn't this work with the labels field?
The text was updated successfully, but these errors were encountered: