Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,366,099
Community Members
 
Community Events
168
Community Groups

How to auto-add watcher from the person at in the latest comment?

I comment a jira as follows:

hi @Lily @Tom  it's a lovely day, isn't it?

 

I want to use jira automation to add lily and tom as the watchers, but don't know how to fulfill this. Could any guy help?

 

Thanks,

Craig

2 answers

1 accepted

0 votes
Answer accepted

Hi @yztech 

Until that suggestion is implemented, you could built this functionality yourself using Automation for Jira.  For example:

  • trigger: issue commented
  • action: create a variable, and use text functions and regular expressions to extract the mentioned users account id values
  • condition: advanced compare to check if there were any mentions
  • advanced branch: to iterate over the created variable as a list
    • action: add watchers for each mentioned user

 

To learn more about automation rules, please see this documentation and examples:

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events