Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I automate a checkbox being checked which triggers an automation to deliver msgs in Slack?

David Witcomb November 23, 2021

I've created a Technical Writing Kanban Board, with a requirement to add an automation - Technical Writers require notification via Slack and MatterMost (realise that I need the MM api and MM Git access) when a reviewer has checked the "Reviewed by" check box.

While I've set up some automations for alerting via Slack, I have not managed to discover how to set this request up in a simple way - by the automation triggering when the checkbox is checked by a reviewer - using the drop-down function.

Any input and help much appreciated. Thanks!

1 answer

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 23, 2021

Hi @David Witcomb -- Welcome to the Atlassian Community!

I recommend breaking your use case down into pieces, build it up, and that will help determine if this is possible.  For example:

  • How are you doing checkboxes: with a checkbox field, a drop-down, or an addon?  If with an addon, have you tested if an automation rule can detect the setting/clearing of the field?
  • What do you want to happen if the checkbox is cleared?
  • You note the other tool MatterMost.  Have you determined if there is a REST API that can be called from the automation rule?

If you can detect the field change in the rule, you should be able to create a rule, perhaps like this:

  • trigger: field value changed (or if the field is not listed, issue updated plus using the changelog)
  • condition: determine if your option is checked
  • action: webrequest to call the REST API for your other tools.  Here is an example doing this for calling the Jira Cloud REST API.

 

Kind regards,
Bill

David Witcomb November 24, 2021

Hey @Bill Sheboy Thanks for your quick response.

  • Am using checkboxes with a drop down. - Ie. Reviewed by, then a list of roles; Technical Writer, Marketing Manager etc.
  • I would say it is more when the checkbox is filled in, the automation trigger should begin. Thus, if there were four reviewers, four alerts would run.
  • Looking at the MatterMost documentation, there appears to be a REST API but will need to Admin access to use it.

Will attempt to create the rule with your tips. Thanks for your input.

David.

Like Bill Sheboy likes this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 24, 2021

Sounds good, David.  If you have issues creating your rule, please post the rule and audit log images so the community can help.  Thanks!

Like David Witcomb likes this
David Witcomb November 25, 2021

So far so good. Rule created and webhook works for Slack. 

Now to apply the Rest API for MatterMost :)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events