Skip to content

Jira and Confluence sign-in

Jira is where our tickets live, and Confluence is our wiki. Both are on one site, https://wgu.atlassian.net, and sfe reads both with one sign-in. It only reads: it never adds a comment, moves a ticket or edits a page.

Video, about one and a half minutes, with narration and captions.

The video shows sfe's own checks for this sign-in, from a real run. The browser part of a sign-in, where we type our password and approve it, is ours alone, so the video describes it and does not record it.

What it is used for in sfe

  • sfe jira get ENG27-6254, sfe jira comments, sfe jira search and sfe jira mine read tickets.
  • sfe confluence search and sfe confluence page read wiki pages as plain text.
  • A bare Jira key, sfe ENG27-6254, and sfe where <key> start from a ticket.

What must be signed in

There are two ways to be signed in. One is enough.

Way What it is The command
An API token A token is a long secret string that stands in for a password. We make it on Atlassian's page https://id.atlassian.com/manage-profile/security/api-tokens, with "Create API token", the kind without scopes. sfe keeps it in the macOS Keychain. It lasts one year at most sfe jira login
The sfe Chrome window Without a token, sfe reads Jira inside the sfe browser, a Chrome of its own where we are signed in once with the company single sign-on. See ServiceNow and the sfe browser sfe browser start, then the sign-in in that window

sfe jira login is the better one: it needs no browser. It asks for our Atlassian email and for the token, which we paste at the prompt. The email goes into ~/.sfe/config.json, and the token goes into the Keychain, never into a file. sfe jira acli-login signs Atlassian's own command line, acli, in with the token that sfe already saved.

We type the email, paste the token and type any password ourselves. We never paste a token into a chat, a ticket or an agent.

Environments

There is one site, and it is production. sfe marks it [PRODUCTION]. The old Jira at projects.wgu.edu (the SST and MKT projects) is not read by sfe.

What a successful sign-in looks like

sfe status has a jira row that shows our name and how we are signed in:

jira  yes  -  https://wgu.atlassian.net [PRODUCTION]  <our name> (API token)

sfe doctor jira shows three green ticks: the Jira sign-in, acli, and Confluence readable with the Jira sign-in. sfe jira whoami says which Jira account sfe reads as, and whether through the API token or the browser. Both only read.

On a Mac where it is signed in, sfe doctor jira looks like this:

sfe doctor jira: the Jira sign-in with an API token, acli signed in, and Confluence readable

And sfe help jira login, which only reads:

The help of sfe jira login: it saves the API token in the macOS Keychain

Steps

  1. We run sfe doctor jira. It prints a fix: line for each item that is missing.
  2. We open https://id.atlassian.com/manage-profile/security/api-tokens in our browser, sign in, and choose "Create API token", the kind without scopes. We copy the token.
  3. In the terminal, we run sfe jira login. It asks for our Atlassian email and the token. We type the email and paste the token ourselves.
  4. We run sfe doctor jira again, and sfe jira whoami.

Troubleshooting

What we see Likely cause What to do
not signed in to Jira (the sfe Chrome is at ...), or exit code 4 No token is saved and the sfe Chrome is not signed in Run sfe jira login, or sign in to Jira in the sfe Chrome window
Jira did not accept the saved API token The token has expired. Tokens last one year at most Make a new token and run sfe jira login again
no API token saved, and the sfe Chrome is not signed in in the doctor Neither way is set up Do step 2 and step 3 above
Atlassian's acli signed in with the saved Jira token shows a grey circle, waits for a saved Jira token No token is saved yet Save a token with sfe jira login, then run the acli sign-in line that sfe doctor jira prints
Confluence readable with the Jira sign-in shows a yellow triangle Confluence uses the Jira sign-in, which is not in place yet Fix the Jira sign-in first
A ticket or page we may open in the browser cannot be read Our Atlassian account has no access to it Ask the owner of the project or space for access. sfe cannot get around it

Next


Last reviewed: 2026-12-02