Skip to end of banner
Go to start of banner

Use Commands (CLI) to Create and Update Jira Issues

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Using commands to interact with Jira from Slack is a real time saver. Use these commands to up your integration game and wow your colleagues with your time-saving skills.

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 at any time to get a reminder of the command syntax

Accessing the app in Slack

  1. Navigate to the Apps section in Slack

  2. Click on Jira Integration+

If you don't see the app you need to add the bot

Get syntax reminder with help command

  1. Go the the messages tab in Slack

  2. Type help and hit enter

The bot will give you real examples based on tickets you have access to in Jira.

Expand issue information

  1. Send a message in Slack that includes one or more Jira issue keys.

Create issues

There are a number of other options for creating issues from Slack you can use.

  1. Start with the keyword create

  2. Add the issue type after the keyword - examples include: task, sub task, story

  3. Add the project where the issue should be created - use the project JIRA code (in the example above, "JID" is the project JIRA code)

  4. Add the issue name / title for the ticket

  5. Add additional fields to complete your ticket

    1. Example fields:

      • description - add a description

      • priority - set the issue priority

      • assignee - who the issue should be assigned to

    Add a comment

  1. Type the keyword comment

  2. Type a Jira issue key (i.e. DEMO-124)

  3. Enter your comment

Assign with command line

  1. Type the keyword assign

  2. Type a Jira issue key (i.e. DEMO-124)

  3. Mention the user you want to assign the issue with the @ pattern.

You can use @me to assign to yourself.

Log time

  1. Type the keyword log

  2. Type the amount of time - i.e 2h, 1w, 1d, 2.5h

  3. Type a Jira issue key (i.e. DEMO-124)

  4. Enter a comment (optional)

Search for issues

Search by sprint

  1. Go to the channel and type the sprint  XX where XX is the name of the sprint

    1. Note: You can substitute current for sprint name if you want results for the current active sprint.

    2. 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

  1. Go to the channel and type issues @user where @user is the Jira user name to filter by.

  2. The following commands can also be used to retrieve a lost of issues for a specific user:

    1. issues (user)

    2. my tickets

    3. my priorities

    4. 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 or create them in JIRA and copy the syntax into Slack.

  1. Login to Jira and go to Search Issues

  2. Create your search via the basic or advanced tabs.

  3. Copy the JQL from Jira (if using the basic search you will need to switch to JQL).

  4. 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!

Make sure to invite the bot to the channel to use this feature.

  • No labels