DocsIntegrations

Jira

Jira connects issue work to Mobius.

A Jira integration connects an Atlassian Cloud site to Mobius. It lets assistants inspect and update Jira issues, and start routines when issues and comments change.

Use Jira when work intake or remediation lives in Jira and the assistant needs to write back status, comments, assignments, worklogs, links, or transitions.

Capability map

CapabilityValue
Provider IDjira
Auth kindoauth2_user
Connect flowAtlassian approval for your own account, or a service account for the team
ActionsYes
EventsYes, as they happen
Webhook deliveryAutomatic for personal connections; a Jira admin adds one for a team connection
Event samplesYes
Live statusNo

Connect Jira

A Jira connection is one of two kinds:

  • A personal connection is your own Atlassian account. Assistants you allow act as you in Jira and see only what you can see there.
  • A team connection is a Jira service account, connected by an admin. Assistants act as the service account, so issues and comments show the bot, and the connection keeps working when people leave. The service account sees only the projects it was added to.
SurfaceSupport
App, personalOpen Build > Integrations, choose Jira, select Connect Jira, and approve Mobius on Atlassian's screen. If your account uses more than one Jira site, select Use more than one Jira site? and enter the site first.
App, teamAn admin opens Build > Integrations, chooses Jira, opens Connect for the team with a service account, and enters the site, client ID, client secret, and webhook secret.
CLIThe mobius CLI does not connect Jira integrations yet. Use the app or API.
APICall POST /v1/integrations with provider jira. For a personal connection send nothing else (or "config": {"site": "your-team.atlassian.net"}), then send the browser to the returned authorization_url. For a team connection send site_url, client_id, client_secret, and webhook_secret in credentials.

To set up the service account, go to Directory > Service accounts in Atlassian Administration, create one, give it Jira access, and add it to the projects the team's assistants should work in. Then create an OAuth 2.0 credential for it with the scopes read:jira-work, write:jira-work, and read:jira-user. Mobius checks the credential with Atlassian before saving it.

Personal connections renew on their own. If you remove Mobius in your Atlassian account settings, or an admin revokes the service account's credential, the connection shows Reconnect. Reconnecting the same account keeps its grants, defaults, and routines.

Open the connected account and use Assistant access to grant this exact connection to the assistants that need it. Choose the whole team or named people as its Mobius result audience. The grant applies in conversations and routines; a routine also saves the exact Jira connection it will use.

Actions

jira.issue.add_comment
jira.issue.add_watcher
jira.issue.add_worklog
jira.issue.assign
jira.issue.create
jira.issue.create_link
jira.issue.delete_comment
jira.issue.delete_link
jira.issue.get
jira.issue.get_changelog
jira.issue.get_comments
jira.issue.get_worklogs
jira.issue.search
jira.issue.transition
jira.issue.update
jira.issue.update_comment
jira.issue_link_type.list
jira.issue_type.list
jira.label.list
jira.priority.list
jira.project.get
jira.project.list
jira.user.search

Use jira.issue.search before mutating actions when the assistant receives loose input, such as a human-written ticket key or component name. Transition actions need a valid transition for the current issue state.

Jira mutations, including creating or updating an issue, adding a comment, assigning work, logging time, changing a transition, or deleting a comment or link, run without an automatic Mobius confirmation. Dispatch still rechecks the exact Jira connection and assistant grant.

Events

jira.comment.created
jira.comment.updated
jira.issue.created
jira.issue.deleted
jira.issue.updated

Use jira.issue.created for intake and jira.issue.updated for state changes. Use comment events when the assistant should respond to human discussion instead of every field update.

Jira sends each change to Mobius as it happens. A connection only receives changes to issues its account can see.

  • Personal connection. Mobius registers the webhook with Atlassian when you connect and keeps it renewed. There is nothing to set up.
  • Team connection. A Jira admin adds the webhook once:
    1. In Jira, go to Settings → System → WebHooks and create a webhook.
    2. Paste the URL from Webhook endpoints on the Jira integration page.
    3. Tick Issue created, updated, and deleted, and Comment created and updated.
    4. Select Generate secret, and paste the secret into the team connection form in Mobius.

Next