Skip to content

Instantly share code, notes, and snippets.

@hampusn
Last active December 16, 2015 10:19
Show Gist options
  • Save hampusn/5418924 to your computer and use it in GitHub Desktop.
Save hampusn/5418924 to your computer and use it in GitHub Desktop.
Various issue filters for JIRA.

JIRA Issue Filters

A collection of various issue filters. See the introduction page about Advanced Searching and the Function reference page.

Managed Projects

All Open Bugs

All open bugs which isn't assigned to the current user and where the current user has the role Project Manager.

status in (Open, "In Progress", Reopened) AND type = Bug AND assignee != currentUser() AND project in projectsWhereUserHasRole("Project Managers")

All Open

The same as the one above but all open issues.

status in (Open, "In Progress", Reopened) AND assignee != currentUser() AND project in projectsWhereUserHasRole("Project Managers")

All Open with Resolution

All open issues which has a resolution but is still not closed. Useful for Project Lead/Managers and QA so they have a simple list of the issues which needs to be reviewed and closed.

status != Closed AND resolution != Unresolved AND assignee != currentUser() AND project in projectsWhereUserHasRole("Project Managers")

Current User

Open Bugs

All open bugs which is assigned to the current user.

status in (Open, "In Progress", Reopened) AND type = Bug AND assignee = currentUser()

All Open

The same as above but all open issues.

status in (Open, "In Progress", Reopened) AND assignee = currentUser()

Mentions

All issues where the current user is mentioned somewhere with the [~username] syntax.

summary ~ currentUser() OR description ~ currentUser() OR comment ~ currentUser()

All Open Reported by Me

All open issues reported by the current user but not assigned to the current user. Sorted by creation date descending.

status in (Open, "In Progress", Reopened) AND reporter = currentUser() AND assignee != currentUser() ORDER BY createdDate DESC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment