Forums

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

Automation: Tag user by specific role

David Leal
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.
February 23, 2023

Is there a way to define a rule that tags a user by a specific role? For example I would like to have a rule that triggers a comment in an issue when all the sub-tasks are in DONE status tagging the product owner for example. I know it is possible using the account id of the person who has that role:

[~accountId:their account ID]

but I am looking for something more generic so I don't need to change the rule if the PO has been replaced for example.

Thanks,

David

1 answer

0 votes
Alex Koxaras _Relational_
Community Champion
February 24, 2023

Hi @David Leal 

If I were you, I would use the events functionality to notify a group of people who had a specific role. E.g.:

  • I would create a new event called "Notify Product Owners"
  • I would create a self transition (any to any) called "Send Notification to Product Owners"
  • I would make the above transition hidden to all users, but automation
  • I would also change the fire event from Generic to "Notify Product Owners"
  • On my Notification Scheme I would add on the "Notify Product Owners" event the project role of "Product Owners"
  • I would create either a Jira Automation of a PF within a workflow to be triggered when all subtasks of a parent issue are in a closed status, and then transition the parent issue via the "Send Notification to Product Owners"
  • The above would yield notifications being sent out to all people who have the product owner role in your project

Hope the above make sense to you!

David Leal
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.
February 24, 2023

Thanks @Alex Koxaras _Relational_ for your response, I am not Jira Admin, only Project Admin, so I am not familiar with the events functionality. What I read is that you can associate a notification, but it is for sending emails only and it would not be an effective notification mechanism for my project. I am considering adding a comment, sending a slack message to channel which is possible via Automation. The least preferable option will be to send a notification, but not by email, only to show in the bell icon on the top right. I guess the process you described is only for sending emails, but I am not sure. Thanks

Suggest an answer

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

Atlassian Community Events