Need a jql query to send slack messages for a project

Sahil Suhag March 12, 2024

Need a jql query to send slack messages for a project whenever a specific (mutliple) assignees comment on a task or subtask assigned to them in the project between 11 am and 12 am

 

1 answer

0 votes
Ashley Hudson
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.
March 15, 2024

Hey @Sahil Suhag

So you'd need to create an automation rule that looks like the following (for the example of an issue is assigned to a user: (Note that you can add as many users in this solution)

Screenshot 2024-03-15 at 1.39.12 pm.png

So to explain the automation rule: You would select the trigger to be a scheduled event for every day at 12pm (or whatever time frame you'd like) and then add an "IF or ELSE" event as seen here:

Screenshot 2024-03-15 at 1.38.59 pm.png 

Then in the conditions, add the following as seen above. The condition at the middle specifies the issue type as mentioned, you would like two automations to catch if it's an subtask issue type or a task. The task solution can be seen below:

Screenshot 2024-03-15 at 1.39.21 pm.png

The last part of the Else-If is a smart value to identify if the issue comments is empty. Last add the slack message component and all should work for you! 

If you have any questions on the above please let me know! 

Kind Regards,

Ashley Hudson

 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events