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

Fixed search users to use query instead of user. #941

Closed
wants to merge 1 commit into from

Conversation

ursulahuang
Copy link

The user parameter was removed in JIRA API due to GDPR deprecations.

search_users seems to use the user/search endpoint. In this endpoint, the user parameter has been replaced with the query parameter.

@eplodn
Copy link

eplodn commented Jun 22, 2020

Please merge this, the user search functionality is not usable otherwise.

):
"""Get a list of user Resources that match the specified search string.

:param user: a string to match usernames, name or email against.
:type user: str
:param query: a string to match usernames, name or email against.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fundamentally the function is still asking for a 'user', it is just the API that puts this under the 'query' request parameter. Therefore, I think keeping the argument as 'user' is fine

@adehad
Copy link
Contributor

adehad commented May 2, 2021

Likely duplicate of #940 and #927

@studioj studioj closed this May 13, 2021
@studioj studioj reopened this May 13, 2021
@studioj
Copy link
Collaborator

studioj commented May 13, 2021

@ursulahuang please black your branch and pull in changes from master

@studioj studioj added the Status: Needs Rework PR has been submitted, but changes required. label May 14, 2021
@adehad
Copy link
Contributor

adehad commented May 24, 2021

closing as covered by #927

@adehad adehad closed this May 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate feature Status: Needs Rework PR has been submitted, but changes required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants