Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Get suggested issues for auto-completion

Get issue picker resource

GET/api/2/issue/picker
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Query parameters
currentProjectIdstring

the id of the project in context of which the request is executed

querystring

the query

currentIssueKeystring

the key of the issue in context of which the request is executed

showSubTasksstring

if set to false, subtasks will not be included in the list

currentJQLstring

the JQL in context of which the request is executed

showSubTaskParentstring

if set to false and request is executed in context of a subtask, the parent issue will not be included in the auto-completion result, even if it matches the query

Responses
200

Returns a response containing issue picker resource.

sectionsIssueSection[]
Show properties
Array of IssueSection
idstring
issuesIssuePickerIssue[]
Show properties
Array of IssuePickerIssue
imgstring
keystring
keyHtmlstring
summarystring
summaryTextstring
labelstring
msgstring
substring
Try it
Server
Authorization
Parameters
Request
curl -X GET 'http://jira.example.com/rest/api/2/issue/picker' \
  -H 'Authorization: Basic YOUR_CREDENTIALS' \
  -H 'Accept: application/json'
Response
{
  "sections": [
    {
      "id": "id",
      "issues": [
        {
          "img": "img",
          "key": "issueKey",
          "keyHtml": "issueKeyHtml",
          "summary": "summary",
          "summaryText": "summaryText"
        }
      ],
      "label": "section",
      "msg": "msg",
      "sub": "sub"
    }
  ]
}

Was this page helpful?