Skip to content

Look into a ticket or incident

This page shows how we look into a Jira ticket with sfe: read the ticket, find out where its change has travelled, and see what each environment runs. We start from one Jira key and need nothing else. Everything on this page only reads, so none of it can change a system.

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

Before you start

  • sfe is installed and our pack is on. If it is not, we do that first: The path at a glance.
  • We are signed in to Jira, Salesforce and AWS. sfe status shows which sign-ins are in place.
  • We have a Jira key. We use ENG27-6254 here. It is a finished ticket of ours, so it shows every part of the output.

Tip

Not sure about the sign-ins? Run sfe status first. It lists every system and says whether sfe can reach it, and it never changes anything.

Steps

1. Open a terminal

We open the Terminal app on the Mac. Our prompt shows the folder we are in; it does not matter which folder that is, because sfe works from anywhere.

2. Read the ticket

We type sfe jira get and then the ticket key, and press Enter.

sfe jira get ENG27-6254

A second later the ticket is on the screen: who owns it, its state, the acceptance criteria and every subtask under it.

The ticket as sfe prints it

3. Read what sfe says about itself

Before sfe prints the ticket, it says what it is about to do. If the answer is long, we scroll up to the top of it. There are five things to look at:

The five lines sfe prints before every answer

We can always copy the exact request (3) and run it ourselves. sfe hides nothing about what it sends.

4. Find where the change is

A ticket says what was asked for. To see how far the change has gone, we use sfe where:

sfe where ENG27-6254

sfe reads three places together and shows the results on one screen: the Copado story and its pipeline, the pull requests on GitHub, and the build pipeline for the services.

Where the change is

From top to bottom, the screen shows:

Part What it tells us
SRM (Copado) The Copado story for the ticket, its status, and the path a change follows: DevFull, then QAFull, then Production
pull requests The pull requests that name the ticket. "No pull request names this ticket" is normal for a Salesforce change, which travels as a Copado story
builds The newest build of the service and how far it got
what each environment runs The release that is live in Production, SIT and Staging, and when it went out
how it was read Every read that worked, how long it took, and how many tries it needed

5. The shortcut: type the key on its own

When we have a key and nothing else, we can skip the command name:

sfe ENG27-6254

sfe sees that it is a Jira key, says which command it chose and why, and runs the ticket read and the Copado read for us.

The shortcut prints the route it chose first

6. When we only have a message

Most reports come as a sentence, with no key or id in them. We paste the message, in quotes:

sfe investigate "Student passed the assessment but never got the pass email"

sfe picks the words that matter out of the text and prints them as "words to look for". Then it lists, before the plan:

  • What the team noted before: approved notes that share most of those words, each with its id for sfe recall.
  • Runbooks the team wrote for this kind of issue: runbooks whose name and summary share most of the words, each with sfe runbook show.

The plan itself starts with sfe status, then sfe recall and sfe search with the same words, and sfe docs search when the pack has team docs. A note is what was true when someone wrote it; a live read of the system is newer, so we still run the reads.

7. Is it deployed?

For a team that deploys from a gitops repository (image tags in a values file per environment), the pack can describe where those files are. Then one command answers "is this change running there":

sfe deployed checkout --ticket PLAT-123

For each environment it shows the image tag in the values file and whether the pull request's merge commit is in it: yes, no, or not known. It reads what the files say, not the running image. When the pack has no gitops description, sfe prints what to add, with an example.

What we should see

  • The ticket's summary, status and subtasks.
  • read-only in green on every step.
  • A table with the Copado story and the environments.

Troubleshooting

What we see Likely cause What to do
login needed, and the exit code is 4 The sign-in for that system has expired Run sfe doctor. It lists the system and the exact fix. Passwords and codes are always typed by us
refused by the read-only policy, exit code 3 The command would change something Nothing to fix. We read with sfe, and make changes through the steps in How changes work
A row says failed in the environments table One release in that list failed at some point Read the date. An old failed release is history, not a problem today
The answer is cut off at the top The output is longer than the window Scroll up, or make the window taller

Next


Last reviewed: 2026-12-03