Follow these simple steps to learn how to search Jira, from Slack
We will cover the following topics in this article:
- Search by project
- Search by sprint
- Search by user
- Search by advanced (JQL)
Search by project
Summary by priority
You can retrieve a list of tickets for a project, ordered by priority. The bot returns the first ten tickets in the project.
- Simply type "project XX". XX can be the project code, or the full project name
Note: You can use upper or lower case to search. The bot is not case sensitive.
User summary by priority
You can retrieve a list of tickets for specific user. The bot returns the first ten tickets in the specified project.
- Simply type "project XX @username" where @username is the specific Jira username.
Note: Slack will suggest users once you type the @ symbol.
Search by sprint
- Use the following command to return the first ten tickets from the specified sprint: "sprint XX" where XX is the name of the sprint
Note: You can substitute "current" for sprint name if you want results for the current active sprint.
- Use the following command to return tickets for a specific sprint and project: "sprint XX YY" where XX is the name of the sprint, and YY is the name of the project.
Search by user
- Use the following command to return the first ten tickets for a specific user: "tickets @user" where @user is the Jira user name to filter by.
Note: You can also use the following commands to bring back tickets for a specific user:
- issues (user)
- my tickets
- my priorities
- my issues
Search by advanced (JQL)
JIRA provides the ability to perform advanced searches for your issues and Nextup allows you to run these advanced searches within Slack. You can write JQL formatted messages directly in Slack or create them in JIRA and copy the syntax into Slack to retrieve your messages and create scheduled responses.
The JIRA query language (JQL) allows for complex searches for issues. This is how you can create queries in JIRA and then utilize them with Nextup.
- Login to Jira and go to Search Issues
- Create your search via the basic or advanced tabs
- Copy the JQL into a slack channel where the bot is present
- Type jira search and paste the JQL from step 3