pycontribs / jira

Python Jira library. Development chat available on https://matrix.to/#/#pycontribs:matrix.org
https://jira.readthedocs.io
BSD 2-Clause "Simplified" License
1.93k stars 860 forks source link

missing method to get user by id #1478

Open codectl opened 1 year ago

codectl commented 1 year ago

Problem trying to solve

No response

Possible solution(s)

No response

Alternatives

No response

Additional Context

Jira API documentation provides the endpoint https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-users/#api-rest-api-3-user-get which is not implemented

codectl commented 1 year ago

Implementation would be similar to the Issue:

    def issue(
        self,
        id: Union[Issue, str],
        fields: Optional[str] = None,
        expand: Optional[str] = None,
    ) -> Issue:
        """Get an issue Resource from the server.
...