Skip to content

Use Jira to work with the issues on your Jira site from features in your app, such as a bug report form or a list of open issues. To connect, you need your Jira Cloud site’s address, which ends in atlassian.net, and an API token for your Atlassian account.

Connect Jira

The Jira connection acts as the Atlassian account whose email and API token you enter, so your app can reach every project that the account can browse.

First, create an API token at id.atlassian.com under Security › API tokens › Create API token. Use that button, not the one that creates a token with scopes. Atlassian shows the token only once, and it expires within a year. In the Connect Jira dialog, Find it opens Atlassian’s API tokens page.

Only a project owner can connect Jira. If you’re a project owner, connect Jira to your app:

  1. Open Project Settings › Connections, and then turn on the switch for Jira.
  2. In the Connect Jira dialog, fill in the fields:
    • Site address: the address that Jira opens at, such as https://your-site.atlassian.net.
    • Email: the email address that you use to sign in to Atlassian.
    • API token: the token that you created.
  3. Click Connect.

For more about connecting, see Connect a service.

What to ask

With Jira connected, your app can do the following:

  • Search for issues.
  • Read an issue with its comments.
  • Create issues.
  • Change an issue’s summary, description, labels, or due date.
  • Comment on an issue.
  • Move an issue through its workflow.

In your request, name the project by its key, such as SUP, and say which issue type to use, such as Bug or Task.

Example request

Add a Report a problem form that creates a Bug in my SUP project in Jira, with the summary and details that people enter.

Example request

Add an Open issues screen that lists the issues in my SUP project in Jira that aren’t done, newest first, with each one’s status and assignee.

Example request

On the issue screen, add a box for adding a comment to the issue in Jira, and a button that moves the issue to Done.

Comments appear under the name of the account that you connected.

Agent questions

If Jira isn’t connected, the agent asks you to connect it in a card above the message box. See Connect when the agent asks.

Review

After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.

After you push a backend change, check the result in Backend.

Trying the feature in Preview creates and changes real issues on your Jira site, so test it in a project that you use for testing. See Test keys.

Push

When the feature works, push the changes to your app.

Next steps

Troubleshooting

  • If Jira rejects the connection, check the site address and the email, or create a new API token with Create API token (not the button that creates a token with scopes), and paste it again.
  • If an issue can’t move to the status that you asked for because its transition needs fields on a screen of its own, make that move in Jira, or ask for another transition.

For a token that’s refused or a connection that needs attention, see Troubleshoot connections.