Overview
Using commands to interact with Jira from Slack
...
.
What to know:
You can interact with the app directly or in channels where the bot is invited.
You can type help to the bot
...
anytime to get a reminder of the command syntax.
Prerequisites
You must invite the bot to the channel to use this feature.
For a complete list of commands and their behaviors, see:List of commands (CLI)
On this page:
|
---|
Accessing the app in Slack
...
Navigate to the Apps section in Slack.
Click
...
Jira Integration+
...
.
Get syntax
...
reminders with the help command
...
Go the the messages tab in Slack.
Type
help
and hit enter.
The bot will give you real examples based on tickets you
...
can access
...
in Jira.
Expand issue information
...
Send a message in Slack that includes one or more Jira issue keys.
Create issues
...
You can use a number of other options
...
to create issues from Slack
...
.
...
Start with the keyword
create
.Add the issue type after the keyword - examples include
...
task, sub-task, and story.
Add the project where the issue should be created - use the project JIRA code (in the example above,
...
JID
...
is the project JIRA code).
Add the
issue name/title
for the ticket.Add additional fields to complete your ticket.
Example fields:
description - add a description.
priority - set the issue priority.
assignee - who the issue should be assigned to.
Add
...
comment
...
Type the keyword
comment
...
followed by the
issue key
(
...
example: DEMO-124).
Enter your comment.
Assign with command line
...
Type the keyword
assign
.Type a Jira
issue key
(
...
example: DEMO-124).
Mention the user you want to assign the issue with the @ pattern.
Info |
---|
You can use @me to assign it to yourself. |
Log time
...
Type the keyword
log
.Type the
amount of time
-
...
example: 2h, 1w, 1d, 2.5h.
Type a Jira
issue key
(
...
example: DEMO-124).
Enter a comment (optional).
Search for issues
Search by sprint
...
Go to the channel and type
...
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.
To return for a specific sprint and project type
...
sprint XX YY
...
where XX is the name of the sprint, and YY is the name of the project.
Search by user
...
Go to the channel and type
issues @user
where @user is the Jira user name to filter by.The following commands can also be used to retrieve a
...
list of issues for a specific user:
issues (user)
my tickets
my priorities
my issues
Search by advanced (JQL)
The JIRA query language (JQL) allows for complex issue searches. This is how you can create queries in JIRA and then utilize them with Nextup. You can write JQL formatted messages directly in Slack
...
, create them in JIRA, and copy the syntax into Slack.
...
Log in to Jira and go to Search Issues.
Create your search via the basic or advanced tabs.
Copy the JQL from Jira (if using the basic search you will need to switch to JQL).
Go to the channel where the bot is installed. Type
...
Jira search
and paste the JQL from the above step
...
😠 Nothing happens when I try this!
...
.