Properties are fields that you can use in your queries or filters.
| Property | Example |
|---|---|
archivedBoolean |
is:archivedReturns all archived items |
assigned, assigneeText |
assigned=patriksvenssonReturns all items assigned to "patriksvensson" |
authorText |
author=patriksvenssonReturns all items created by "patriksvensson" |
bodyText |
body:"foo bar"Returns all items containing the text "foo bar" in the body |
categoryText |
category=botsReturns all items in the Ghostly category "bots" |
closedBoolean |
is:closedReturns all closed items |
commenterText |
commenter=patriksvenssonReturns all items "patriksvensson" commented on |
commentText |
comment:"bug"Returns all items with a comment containing the word "bug" |
commitBoolean |
is:commitReturns all commits |
draftBoolean |
is:draftReturns all pull requests that are drafts |
forkBoolean |
is:forkReturns all items that belongs to a fork of another repository |
idInteger |
id=1234Returns the item with the specific external id |
inboxBoolean |
is:inboxReturns all items in the inbox |
involved, involvesText |
involved=patriksvenssonReturns all items were "patriksvensson" is involved |
issueBoolean |
is:issueReturns all issues |
labelBoolean |
label:"foo"Returns all items with the label "foo" |
lockedBoolean |
is:lockedReturns all items thats been locked by a moderator |
mention, mentionsText |
mentions=patriksvenssonReturns all items were "patriksvensson" has been mentioned |
mergedBoolean |
is:mergedReturns all pull requests thats been merged |
mergerText |
merger=patriksvenssonReturns all pull requests that was merged by "patriksvensson" |
milestoneText |
milestone="1.0"Returns all items belonging to milestone "1.0" |
mutedBoolean |
is:mutedReturns all muted items |
openBoolean |
is:openReturns all open items |
owner, orgText |
owner:spectresystemsReturns all items belonging to the organization or user "spectresystems" |
privateBoolean |
is:privateReturns all items belonging to a private repository |
pullrequest, prBoolean |
is:prReturns all pull requests |
readBoolean |
is:readReturns all read items |
releaseBoolean |
is:releaseReturns all releases |
reopenedBoolean |
is:reopenedReturns all reopened items |
repository, repoText |
repo=ghostlyReturns all items belonging to a repository called "ghostly" |
reviewerText |
reviewer=patriksvenssonReturns all pull requests that "patriksvensson" reviewed |
starredBoolean |
is:starredReturns all starred items |
titleText |
title:"keyboard"Returns all items where the title contains the word "keyboard" |
unreadBoolean |
is:unreadReturns all unread items |
vulnerabilityBoolean |
is:vulnerabilityReturns all vulnerability |
To make queries easier to read there are some special keywords in GQL which makes queries easier to read in some places. Using these keywords are completely optional and might be used in cases where the query doesn't quite "read right".
You can use the is: prefix for boolean values. Normally : means contains, but in this case it will evaluate to true if the provided boolean is true.
is:pullrequest or is:vulnerability
translates to
pullrequest or vulnerability
On This Page