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
Site admin must authorize this app for the site
Site admin must authorize this app for the site
Tools backend returned status code 404 or 500
Tools backend returned status code 404 or 500
- 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.
Invalid redirect URI during Jira authentication
Invalid redirect URI during Jira authentication
- Possible cause: The verify_code URI for tools OAuth has not been added to the allowed redirect URIs for the Jira OAuth app.
- Fix: An admin should add https://your-glean-instance-be.glean.com/tools/oauth/verify_code/toolUniqueIdentifier to the OAuth app’s allowed redirect URIs and retry authentication.
FAQs
Whose permissions does the action use when retrieving the current user?
Whose permissions does the action use when retrieving the current user?
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.
Can I look up another user with this action?
Can I look up another user with this action?
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.