Skip to main content
The Jira get current user action retrieves detailed information about the currently authenticated Jira account. This is a read-only action that returns the details of the current user for permission checks, personalization, or workflow identification.

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 is prompted to connect their Jira account via OAuth in Glean before running agents that use Jira actions, including Jira Assign issue.
  • If your Jira organization uses Central OAuth, a Jira administrator must authorize the app for the site before users can run Jira actions in Glean.

Supported parameters

This action does not accept any input parameters. It always returns information for the currently authenticated Jira user.

Usage examples

  • “Show me my current Jira account details.”
  • “What is my Jira account ID and email address?”
  • “Before I create a new Jira issue, verify which Jira account I am using.”

Troubleshooting

  • Possible cause: Jira’s Central OAuth application is not granted site-wide access by a Jira administrator.
  • Fix: Ask a Jira admin 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 action’s server information is correct and reachable from Glean. For 500 errors, contact Glean support to investigate the underlying exception.

FAQs

The action runs using the connected Jira account for the current user, so it can only return information that this Jira account is allowed to access.
No. Get current user only returns the currently authenticated Jira user. To work with other Jira users, use separate Jira actions such as Find users or Get all users where available.