Configure Glean Assistant to automatically draft Jira Service Management tickets for users, enabling them to submit requests with a single click. This feature allows organizations to use Glean to automate level 1 IT support. When users post queries in designated IT channels (e.g., in Slack), Glean responds based on the knowledge base and offers an option to create a ticket if the provided answer does not resolve their query.

Enable Jira Actions

Admins can enable Jira actions by going to Glean and navigating to Admin > Platform > Actions.
  1. Click Action > Add actions > Add pre-set actions.
  2. Select Jira Actions from the list of pre-set actions. By default, the following Jira actions are included:
  • Create Jira Service Management Request
  • Jira Search
  • Create Jira Comment
  • Create Jira Issue
To remove an action, go to the Setup > Publish Settings step, and click Edit. Expand the Agents and uncheck the actions that you want to remove.
  1. In the Setup, select Datasource Instance to link these actions to, this is the instance where the JSM requests would get created.
  2. Set up authentication.
    • Option 1: Select Central - this uses the default OAuth App already setup for you. This is the quickest way to start using Jira Actions
    • Option 2: Select Custom - this requires you to create a new custom OAuth App. Please follow the steps below to setup a new custom OAuth app.
  3. Click Save. The Jira Actions are now ready to use.

(Optional) Enable Sharing to Slack

  1. Go to Admin > Chat > Agents.
  2. Open your existing agent or create a new one.
  3. Open the Agent builder and ensure the agent is using a Chat message trigger.
  4. Click on the Share button in the header.
  5. Select the set of users who the agent will respond to in Slack. We recommend setting the General access setting to Everyone else at <Your Company> can view.
  6. In the Publishing options, select Slack.
  7. Select the Slack channels that the agent should respond to (note that each Slack channel can have only agent at a time).
  8. Choose who can see the agent’s responses in Slack. For more information, see Publishing to Slack.
  9. Tick the checkbox for Make this agent available in Slack.
  10. Save the agent.
After publishing, you can configure Glean’s response behavior in Slack by using the /glean configure command.

If your Admin Console shows Apps (Legacy Tenants)

If your Admin Console displays Apps instead of Agents, follow these alternative steps. Navigate to an existing Glean App or create a new one by going to Admin -> Platform -> Apps.
  1. Go to the Actions section in the App setup.
  2. Add the “Jira Service Management - Create Request” Action to the App.
  3. Configure the Service Desks you want this Action to create Requests in. Requests will always created in one of these Service Desks.
  4. Deploy this App to a Slack Channel by going to Publish -> Slack, and Search for your slack channel to add it or Click on ‘Can’t find a channel’. and add the Slack channel ID.

Note

  • This action only auto-populates Service Desk, Request Type, Summary and Description fields (as these are usually the only fields that can be reliably filled by the LLM based on the user’s query). Any other fields required to submit this request will be shown to the user in the slack modal, so they can fill it out and submit.
  • The Service Desk and Request type are filled based on descriptions for these present in Jira Service Management.
    • Glean maps the user query to the description of the request types in JSM, to find the most relevant request type to select.
    • If you find cases where service desk/request type is not getting mapped correctly, please try tweaking the descriptions of these in JSM to improve the quality of these.
  • This action is meant to be used directly and not in prompts.
  • This only creates tickets in Jira Service Management, not regular Jira
  • This only works for Jira Cloud and not Jira Data-Center (on-prem)

Jira Action Pack Setup

The Jira action pack contains the following actions:
  • Search Jira with JQL
  • Add comment on JSM ticket
  • Create Request in Jira Service Management
  • Create a Jira issue
  1. In the Admin Console, enable the Jira Action Pack in the Admin Console under Platform* > Actions > Jira Actions.
  2. Pick an action pack name (e.g. Jira Actions).
  3. Choose Datasource Instance.
  • If you have multiple Jira instances, you need to set up an action pack per instance.
  • In that case, add the instance name to the action pack to easily distinguish them (e.g. Jira Actions - Acme, Jira Actions - Sales)
  1. Choose Authentication method.
  • Central: use the authentication app developed by Glean (recommended)
  • Custom: use your custom OAuth app
  1. Confirm visibility of the Jira actions in your organization’s actions list.
Setup is now complete. Refer to the Jira agent article to test this action pack in the agent builder.
Looking for the original versions of this page? You can find the archived versions here and here.