Advanced searching Jira Software Data Center and Server 9 10 Atlassian Documentation

Search for issues for which a particular user has voted. Note that you can only find issues for which you have the “View Voters and Watchers” permission, unless you are searching for your what are JQL queries and how to use them own votes. Search for issues where the summary contains specific text using Jira text-search syntax. Search and sort through your requests to ensure that you’re hitting your SLA goals.

In Jira, you’ll have different ticket statuses — check to see what statuses you currently use in your project. Notice how I used a comma between my two “order by” clauses. It will first order all of the tickets by priority, so all of the P0 tickets are together, all of the P1 tickets then come after, etc. So, now I can look for tickets where no one’s been assigned.

Snapshot version filter

This function is used to return objects (and their children) of a specific object type. Runs a JQL query (labels is empty) on all connected tickets, and then returns objects based on the results. In this case, the Employee object type has a referenced attribute called “Belongs to Department”. This query returns all the Employees which belong to the HR department. The Jira REST API allows you to discover the fields and data available and required for creating issues. This example uses the project ID and issue type ID rather than the key and name respectively.

The groups are also wrapped in a single response object that also contains a header for
use in the picker, specifically Showing X of Y matching groups. The number of groups returned is limited by the system property “jira.ajax.autocomplete.limit”

The groups will be unique and sorted. Search for issues that were created on, before, or after a particular date (or date range). Note that if a time-component is not specified, midnight will be assumed. Please note that the search results will be relative to your configured time zone (which is by default the Jira server’s time zone). Advanced search allows you to build structured queries using Jira Query Language (JQL) to search for issues within and across projects.

JQL fields

Finally, the EMPTY QueryLiteral will make the affectsVersion
condition look for all issues that have no Affects Version set. These arguments must take the form of simple string values. For example, fixVersion in releasedVersions(‘JIRA’) contains a function call to releasedVersions to find
all the released versions in the JIRA project. Making the arguments simple strings means that JQL lists and
other JQL functions cannot be used as arguments. For example, it is not possible to do something like myFunction(currentUser()). In this query the “is empty” statement tells JIRA to return only issues where the value of the assignee field is blank.

  • The “IS” operator can only be used with EMPTY or NULL.
  • Search for issues and sub-tasks that are linked to an epic.
  • The version to set affectedVersion to on issues where the deleted version is the affected version,
    If null then the affectedVersion is removed.
  • This JavaScript will be compiled, and the main() function will be executed by the query engine.

The operator compares the value of the field on the left side with one or more values or functions on the right side. To run a filter, such as New_issues, select the filter name. The JQL for the advanced search will be set, and the search results will be displayed. To view a detailed information about functions and how to use them for advanced searching, check out Functions reference page. To view a detailed information about keywords and how to use them for advanced searching, check out Keywords reference page. To view a detailed information about operators and how to use them for advanced searching, check out Operators reference page.

Return the default workflow from the passed draft workflow scheme to the caller. Remove the default workflow from the passed workflow scheme. Return the default workflow from the passed workflow scheme. The issue key for the issue being edited we need to find viewable users for.

jql documentation

This is a basic example of how to create an issue using the Jira REST API. For more detailed examples of requesting metadata, see the examples in the sections later. For more detailed examples of requesting metadata, see the examples in the sections later.

jql documentation

Leave a Reply

Your email address will not be published. Required fields are marked *