GITHUB-FOUNDATIONS practice question 7 of 15

What qualifier finds issues that mention a certain user?

Full set: 75 questions
Answer options
A: mentions: Correct answer
B: Smentioned:
C: mentioned:
D: threads:
Correct Answer:
A. mentions:
Explanation

In GitHub’s issue and pull-request search syntax, the qualifier mentions: filters for discussions that contain an @-mention of the specified user. No other search qualifier beginning with “mentioned”, “Smentioned”, or “threads” exists in the official GitHub search grammar, making mentions: the sole correct option for locating issues that reference a particular user.

Why Incorrect

B. Smentioned: – Not a defined GitHub search qualifier; queries return zero matches.
C. mentioned: – Misspelled; official qualifier is singular “mentions:” with an “s” at the end.
D. threads: – Valid only for notifications API, not for issue search; returns unrelated results.

References

1. GitHub Docs – “Searching issues and pull requests,” section “Search qualifiers,” bullet “mentions:USERNAME.” https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests#search-by-mention

2. GitHub Docs – “About searching on GitHub,” table of supported qualifiers (mentions). https://docs.github.com/en/search-github/getting-started-with-searching-on-github/about-searching-on-github#supported-search-syntax

Scroll to Top