Can we use @ user mention as a Jira trigger?

Akshay Jadhav July 19, 2023

Hi

I'll explain my use case here:

I would like to implement an automation which will send a slack message to a person if he/she is mentioned in any of the issue. If Slacking is not an option we may use any other alternative like assigning the ticket to that person.

Could you please guide me to implement this? 

Thank you
Akshay

1 answer

0 votes
Mindaugas Dūda July 19, 2023

Hi @Akshay Jadhav and welcome to community!

This should do the work:

Untitled1.png

Akshay Jadhav July 19, 2023

Thank you  @Mindaugas Dūda , I'll give it a try. 
I assume this message will be forwarded to a Group. Is there a way to send it to the specific user?

Like John Funk likes this
Mindaugas Dūda July 19, 2023

When using jql:

comment ~ "\"username\""

replace username with a specific user name and this will trigger sending of slack message

Like John Funk likes this
Akshay Jadhav July 19, 2023

Oh, actually I meant it can be triggered by any username but can it be forwarded as a private message on slack to the 'tagged' user.

Like John Funk likes this
Akshay Jadhav July 19, 2023

I am seeing an error with this one :(
How can I grant permissions to the rule?

"The following issues did not match the condition:
Y2K-2101

1. the issue didn't match the specified JQL (most likely)
2. the chosen rule actor doesn't have permissions (or issue security level permissions) to view the issue
3. the issue was deleted or wasn't indexed by Jira yet (in rare circumstances)
We recommend using the 'Issue fields condition' for more consistent results."

Like John Funk likes this

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events