Search code examples
jirajira-pluginjira-rest-api

How to get JIRA issues assigned to the current user using the JIRA REST API?


I'm trying to get a list of issues assigned to the current logged in user using the JIRA REST API, but I can't find any documentation on how to do that.

What do I need to do in order to get the issues assigned to the current user?


Solution

  • You can specify the issues you want to receive by using jql. In your case rest/api/2/search?jql=assignee=currentuser() should do the trick.

    Here is the relevant part of the documentation of the REST api and here is the description of the used jql-function.