Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Snippet Library: JQL - User Related

Common user-related standard fields include:

Assignee – the user expected to take action.

Reporter – a requestor or single point of contact. The reporter can change through an item’s lifecycle.

Creator – the user who created the item. The creator never changes and this information is useful for auditing purposes.

Watcher – an interested party. Watchers usually receive notifications when items are updated or changed.

Request participants – an interested party who can access a request in Jira Service Management.

User examples

Items you’re associated with.

  • assignee = username

  • assignee = currentUser()

  • reporter in (username1, username2)

  • reporter != currentUser()

Items watched by one or more users.

  • watcher = currentUser()

  • watcher = "username1" AND watcher = "username2"

  • workitem in watchedWorkItems()

Items you are not associated with.

  • reporter != currentUser() AND assignee != currentUser() AND creator != currentUser()

Use the membersOf function to search for items associated with a user in a global Jira group.

  • assignee IN membersOf("Executives")

Users with access to requests in Jira Service Management.

  • "Request participants" = currentUser()


Back to intro or article list

0 comments

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events