Skip to content

Search every system at once

This page shows how we search with sfe when we have a few words but no ticket key yet, for example an error message or the name of a feature. One command looks in Jira, Confluence, ServiceNow, Teams, our files, SharePoint sites, GitHub and Salesforce at the same time and gives us one list. Then we narrow the search, and open what we find. 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 the systems we want to search. sfe status shows which sign-ins are in place. A system we are not signed in to is skipped and the others still answer.
  • We have some words to look for. We use Unable to find care profile, an error message, and Nursys troubleshooting, a topic. We chose words that bring back tickets, pages and code, not people.

Warning

A search that includes Salesforce can list people, because Salesforce holds students and staff. We read those rows on our own screen, and we do not paste them into tickets, chats or screenshots.

Steps

1. Open a terminal

We open the Terminal app on the Mac. It does not matter which folder we are in.

2. Search with a few words

We type sfe search and then the words, in quotes when there is more than one word. The option --limit keeps each place to a few rows, so the list fits on the screen.

sfe search "Unable to find care profile" --limit 3

sfe asks every place at the same time and puts the answers in one list. At the top it says which places it asked.

One list from seven places

3. Read the list

Every row has the same five parts:

The five columns of the list

The best match comes first. sfe ranks the rows by how well the title and the text match our words, and a row changed in the last 30 days moves up a little. Since sfe 0.1.2 the order is no longer by date.

When our pack names the team's own Jira projects, Confluence spaces and ServiceNow assignment group, sfe looks only there, and says so in a line above the list: "searched the team's own part". sfe start asks for these three. To look in every project and space, we add --wide.

Under the list, the table called "how it was read" says which place answered, how long it took, and how many tries it needed. If one row says FAILED, that place was not reachable, usually because of a sign-in. The other places still answered.

When we know where the answer lives, we add options after the words:

Option What it does
--in Looks only in the places we list, separated by commas, such as jira,confluence
--since Keeps only things that changed in a time window, such as 30m, 6h, 7d or 8w
--limit Keeps at most this many rows from each place
--wide Looks in every Jira project, Confluence space and ServiceNow group, not only the team's own

The places we can name with --in are jira, confluence, servicenow, teams, files, sites, github and salesforce.

sfe search "IDV status history" --in jira --since 8w --limit 3

Only Jira was asked, so the answer is quick and every row is a ticket.

A search narrowed to Jira

5. Open a ticket from the list

A result is a way in. The ref of a Jira row is the ticket key, so we read the whole ticket with the command from Look into a ticket or incident:

sfe jira get ENG27-6254

We scroll up to the top of the answer to see the ticket first and its subtasks below it.

The ticket we found in the list

6. Open a Confluence page from the list

Sometimes the row is a Confluence page. We search only Confluence:

sfe search "Nursys troubleshooting" --in confluence --limit 3

A search narrowed to Confluence

The ref of a Confluence row is the page id. We read the page as plain text with sfe confluence page and that number:

sfe confluence page 573473077

The page, read as plain text

Tables, links and labels come with it, so we can read the whole page without a browser.

What we should see

  • A list with rows from more than one system, and read-only in green above it.
  • A "how it was read" table where every place says read now or reused.
  • After --in, rows only from the places we named.

Other options

  • --personal also looks in our own mail and calendar. We leave it off unless we need it.
  • --refresh makes sfe read everything again instead of reusing an answer it read a minute or two ago.

Troubleshooting

What we see Likely cause What to do
A row in "how it was read" says FAILED, for example for ServiceNow We are not signed in to that system, or the sign-in has expired Run sfe doctor. It lists the system and the exact fix. The other places still answered, so we can carry on
The table says reused, read 75 s ago sfe kept a read from a minute ago and did not ask again Add --refresh when we want a new read
The list is empty The words are too narrow, or --since is too short Use fewer words, take --since away, or widen --in
Too many rows from one place Everything matched Add --in for that place, or a shorter --since
A ticket we know exists is missing It is in another team's project or space, and the search kept to ours Add --wide
A title ends with … The title is long and the column is narrow Use the ref to open the full item

Next


Last reviewed: 2026-12-03