Docs
Sign in

Jira

Jira is Atlassian's tool for tracking software and project work, and the Jira connector lets TAO search, read, create and update Jira issues for you.

Screenshot to add: The Add Jira + Jira Service Management credential window with the Atlassian site URL field.

This page covers regular Jira projects. For help desk requests, see Jira Service Management. Both use the same connection.

What you can do

Illustrative examples of what you might ask TAO:

  • "What Jira tickets are assigned to me?"
  • "Show me the open bugs in the ACME project."
  • "Raise a Jira task to update the docs."
  • "Move ACME-1042 to In Progress and assign it to Priya."
  • "Add a comment that the fix is deployed."

Before you connect

  • A Jira Cloud site. The address looks like https://acme.atlassian.net. This connector is built for Jira Cloud.
  • An Atlassian account that can see the projects you want TAO to use. TAO can only do what that account can do.
  • A classic API token. An API token is a long password you create in your Atlassian account so another program can act for you. It must be a classic (unscoped) token. A scoped token does not work here and fails with a plain "unauthorized" error.
  • Your Atlassian email address. It is combined with the token.
  • Tokens expire. Atlassian tokens last from 1 to 365 days. When yours runs out, TAO stops working with Jira until you add a new one. Atlassian gives no way to see the expiry date.

The product code does not list any other permission or scope for this connector.

Connect it

  1. Open My Connectors

    Go to Settings > Connectors. The page is called My Connectors.

  2. Find the Jira card

    Look for Jira + Jira Service Management. If it is missing, an admin has not switched it on yet.

  3. Enter the site address

    Fill in Atlassian site URL. Use the bare address, such as https://acme.atlassian.net. A link to a board or a page will be refused.

  4. Paste the credential

    Paste your Atlassian email and API token in the secret box, joined by a colon: email:apiToken. The product's catalog entry does not show its own hint for this box, so the format comes from the connector's design notes. The box is masked as you type.

  5. Save

    Optionally add a Label to tell connections apart. Click Save. A red message appears in the window if something is wrong.

Tools

Reads run straight away. Writes are queued and wait for a person to approve them. The two permanent deletes also need an exact confirmation, covered below.

Tool nameWhat it doesRead or Write
jira_search_issuesSearches issues with JQL (Jira's own query language). Returns one page and no grand total.Read
jira_get_issueGets one issue in full, with status, assignee, labels and recent comments.Read
jira_list_projectsLists the projects the account can see, and flags service-desk projects.Read
jira_list_issue_commentsLists the comments on an issue, newest first.Read
jira_find_userFinds a person's account ID by name or email. Needed before assigning.Read
jira_get_transitionsLists the workflow moves an issue can make right now.Read
jira_describe_issue_fieldsShows the issue types and required fields a project accepts.Read
jira_create_issueCreates an issue.Write (needs approval)
jira_update_issueChanges fields on an issue. Does not change status.Write (needs approval)
jira_add_commentAdds a plain-text comment. Everyone watching is notified.Write (needs approval)
jira_transition_issueMoves an issue through its workflow, such as to Done.Write (needs approval)
jira_assign_issueAssigns or unassigns an issue.Write (needs approval)
jira_delete_issuePermanently deletes an issue. Jira has no trash.Write (needs approval, irreversible)
jira_delete_commentPermanently deletes a comment.Write (needs approval, irreversible)

Total: 14 tools, 7 reads and 7 writes.

The assignment for this page expected 5 writes. The code has 5 everyday writes plus the 2 deletes.

Limits and good to know

  • TAO looks things up first. Before creating, TAO is told to check which fields the project needs. Before moving an issue, it checks which moves are allowed. Before assigning, it finds the person's account ID. This is because every Jira project is set up differently.
  • Status is never set directly. A status changes only through a workflow move.
  • Search counts are per page. Jira gives no total, so TAO reports "on this page", not the number of matching issues.
  • Searches must be limited. A query with no project, person, status or date can be refused by Jira.
  • Long text can be cut. Long descriptions and comments are shortened at 4,000 characters, and TAO is told to say so.
  • Deleting needs an exact match. Deleting an issue needs its exact summary. Deleting a comment needs the author and the comment text. A near match is refused. If an issue has sub-tasks, the delete is refused until you approve removing them too.
  • A failed write is not repeated. If Jira does not answer clearly, TAO tells you the outcome is unknown and asks you to check Jira.
  • Hidden email addresses. Some Jira sites hide emails, so searching for a person by email may find nobody.
  • Readiness. The product notes record this connector as shipped with the catalog entry switched off by default. An admin turns it on per environment.