Properties

Properties are fields that you can use in your queries or filters.

Property Example
archived
Boolean
is:archived
Returns all archived items
assigned, assignee
Text
assigned=patriksvensson
Returns all items assigned to "patriksvensson"
author
Text
author=patriksvensson
Returns all items created by "patriksvensson"
body
Text
body:"foo bar"
Returns all items containing the text "foo bar" in the body
category
Text
category=bots
Returns all items in the Ghostly category "bots"
closed
Boolean
is:closed
Returns all closed items
commenter
Text
commenter=patriksvensson
Returns all items "patriksvensson" commented on
comment
Text
comment:"bug"
Returns all items with a comment containing the word "bug"
commit
Boolean
is:commit
Returns all commits
draft
Boolean
is:draft
Returns all pull requests that are drafts
fork
Boolean
is:fork
Returns all items that belongs to a fork of another repository
id
Integer
id=1234
Returns the item with the specific external id
inbox
Boolean
is:inbox
Returns all items in the inbox
involved, involves
Text
involved=patriksvensson
Returns all items were "patriksvensson" is involved
issue
Boolean
is:issue
Returns all issues
label
Boolean
label:"foo"
Returns all items with the label "foo"
locked
Boolean
is:locked
Returns all items thats been locked by a moderator
mention, mentions
Text
mentions=patriksvensson
Returns all items were "patriksvensson" has been mentioned
merged
Boolean
is:merged
Returns all pull requests thats been merged
merger
Text
merger=patriksvensson
Returns all pull requests that was merged by "patriksvensson"
milestone
Text
milestone="1.0"
Returns all items belonging to milestone "1.0"
muted
Boolean
is:muted
Returns all muted items
open
Boolean
is:open
Returns all open items
owner, org
Text
owner:spectresystems
Returns all items belonging to the organization or user "spectresystems"
private
Boolean
is:private
Returns all items belonging to a private repository
pullrequest, pr
Boolean
is:pr
Returns all pull requests
read
Boolean
is:read
Returns all read items
release
Boolean
is:release
Returns all releases
reopened
Boolean
is:reopened
Returns all reopened items
repository, repo
Text
repo=ghostly
Returns all items belonging to a repository called "ghostly"
reviewer
Text
reviewer=patriksvensson
Returns all pull requests that "patriksvensson" reviewed
starred
Boolean
is:starred
Returns all starred items
title
Text
title:"keyboard"
Returns all items where the title contains the word "keyboard"
unread
Boolean
is:unread
Returns all unread items
vulnerability
Boolean
is:vulnerability
Returns all vulnerability

Special cases

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