Skip to main content
The Jira Get issue action retrieves a single Jira issue by its ID or key so that agents can inspect its fields, summarize it, or combine it with context from other systems. Use this read-only action for workflows like stale issue review, follow-up analysis, and cross-system enrichment where you need the latest canonical view of one Jira ticket. The action runs using the connected user’s Jira account and permissions, so it can only return issues and fields that the user is allowed to see in Jira.

Limitations

  • Jira actions are designed for Jira Cloud and do not support Jira Server or Data Center deployments.
  • If your Jira administrator has not granted site-wide access to the Jira OAuth app, users may see an error that the site admin must authorize the app before it can access their account.

Prerequisites

  • Your admin must complete the initial Jira setup and enable Jira actions in the Admin Console so that the Jira action pack is available in Agent Builder.
  • Each user must connect their Jira account via OAuth in Glean before running agents that use Jira actions, including Jira Get issue.
  • If your Jira organization uses Central OAuth, a Jira administrator must authorize the app for the site before users can run Jira actions.

Supported parameters

The underlying action defines the following parameters for Jira Get issue.
NameTypeDescription
Issue ID or keyStringIdentifier of the Jira issue to retrieve, such as an issue key like EE-1234 or the internal issue ID.
ExpandStringOptional comma-separated list of expansion options passed through to Jira’s issue API for advanced use cases.
FieldsString or listOptional set of Jira field identifiers to request from the REST API when you want to narrow or customize the returned fields.
Fields by keysBooleanOptional flag that controls how Jira interprets the fields parameter; see Jira REST API documentation for supported behavior.
PropertiesString or listOptional list of Jira issue property keys to include in the response, passed through to the underlying Jira API.
Update historyBooleanOptional flag corresponding to Jira’s updateHistory behavior; confirm the desired value based on your Jira REST API configuration.

Usage example

You want to review a high-priority bug that has been open for several weeks to determine if it needs attention or re-prioritization. Instruction to an agent: “Look up Jira issue ENG-567 and tell me: what is the current status, who is assigned to it, when was it last updated, and what is the priority level? Also, summarize the issue description.” Resulting behavior:
  • Calls the Get issue action with:
    • Issue ID or key set to ENG-567.
  • Retrieves the complete issue details including all standard fields.
  • Returns structured information about:
    • Status: In Progress
    • Assignee: ABC
    • Last updated: November 15, 2024
    • Priority: High
    • Description summary: API timeout occurring when users make batch requests.
  • The agent can then combine this with other data sources or use it to decide on follow-up actions like adding comments or updating fields.
Workflow tip: Use Get issue as the first step in multi-step workflows. For example, retrieve an issue, analyze its status and comments, then use other Jira actions like Edit issue or Add comment to update it based on your analysis.

Troubleshooting

  • Possible cause: The central OAuth application of Jira is not granted a site-wide access by a Jira administrator.
  • Fix: Ask your Jira administrator to complete the required app authorization flow in Jira, then retry the action.
  • Possible cause: The tools server backing this action is unreachable (404) or returning an internal error (500).
  • Fix: Confirm that the server information of the action is correct and reachable from Glean. For 500 errors, the tool creator needs to fix the server or investigate the underlying exception.

FAQs

Jira Get issue targets a single issue by ID or key, while Search Jira with JQL runs a JQL query and can return many matching issues up to the configured limits of the search action.