Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Send direct message on Slack


I've got Jira board for service desk team (10 members) where users around the organisation can creates a sort of tickets (repo access, add specific tool to the project etc.). Once a day I want to send private message to every service desk team member with tickets assigned to them.

Is it possible to send a direct message, once a day, on Slack to user with list of assigned tasks from Jira? I know there is a Automation for Jira tool but I don't know how to send message only to assigned user - is it possible without writing a bot from scratch?




1 answer

0 votes
Daniel Eads Atlassian Team Jan 09, 2020
Hi Maciej,
Great question! I haven't seen Automation for Jira utilized in this way before, but it is definitely possible. Here's an overview of a rule that can make this happen, before we get into the nitty gritty on setting it up:

Alright, let's build it!
  1. Create a new Project automation rule in the project your agents are working out of (you can access the Project automation section from the Project Settings)

  2. Use the Scheduled trigger for the rule

  3. Set the rule to use a cron expression and select the option for "simply run the conditions and actions without providing issues". Example:

  4. Set the details for the cron expression. If you’re unfamiliar with cron, you can see how the statements are constructed in our documentation. You can also use a tool like Crontab Guru to get the details right, but note that Automation for Jira (and Jira in general) has a seconds argument, so you will run into an error if you just copy/paste from Crontab Guru without putting an extra 0 at the beginning of your expression. The timestamp is in UTC as well, so you'll need to consider the timezone of your team.
    For teams in the US Eastern timezone, this expression will run every weekday morning at 7:00am:
    0 0 12 ? * MON-FRI
    Whereas teams in Europe may want something like this:
    0 0 6 ? * MON-FRI
    Click the blue Save button when the cron expression is ready.

  5. You should now be on the page to add a component. Select the Branch rule component from the options here.

  6. Under the “Type of related issues” dropdown, select the JQL option.
    While writing the JQL, you’ll want to use the closed statuses for your project’s workflow, and use the “Insert account id” tool to choose one of the users you want to send issues to. The JQL you wind up with might be something like 
    status not in (Done) and assignee = 555resolved-atlassian-account-id555
    Click the blue Save button when the JQL is filled in.

  7. Now choose the “New action” option on the add component screen. This should insert the action under the “For JQL” branch you just configured in the rule. Choose the Send Slack message option from the available actions.

  8. Add details here to send the Slack message. Here are some pointers -

    Webhook URL: use the “configure an incoming webhook” link below the field to generate a URL from your Slack admin panel
    Message: Copy and paste this message for a short and clean message:
    <{{issue.toUrl}}|*{{issue.key}}*  {{issue.summary}}>

    Channel or user: If you don’t put anything here, it will use the channel you configured the webhook for. I would recommend using the userID of the Slack user that matches the assignee you set up in step 6. Click here for a pointer if you need help finding a Slack user’s IDProtip: you can keep using the same webhook URL even if you use different userIDs
    Click the blue Save button when you’ve got this step finished.

  9. Repeat steps 5 to 8 for each user you want to send the morning list to.

  10. Once you're satisfied, give the rule a name and hit that blue "Turn it on" button.
You’re all set! The users you’ve configured will now get a list of unclosed issues assigned to them in Slack each morning. They can click the issue key / summary to be taken to the issue in Jira.


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Marketplace Apps & Integrations

Bitbucket Smart Commits vs. Genius Commits - What's the difference?

If you already heard about Smart Commits in Bitbucket, know that you just stumbled upon something even better (and smarter!): Genius Commits by Better DevOps Automation for Jira Data Center (+ Server...

130 views 0 2
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you