Forums

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

Issue with adding assignee to watchers

Keith Vedol October 6, 2023 edited

Hi,

I am facing two issues when creating an issue.  The first is when an issue is created, it automatically assigns a user.  That user would then be added s a watcher which is not occurring.  The second is when the watchers have been added to the issue, an email notification is sent to the watchers which is not happening as well.  Are these not possible or am I setting up the automation incorrectly?  Thanks.  Attached is the rule setup.

rule_1.jpg

1 answer

1 accepted

2 votes
Answer accepted
Ste Wright
Community Champion
October 6, 2023

Hi @Keith Vedol 

It might be the rule isn't keeping up - as actions don't necessarily happen in order - you could try using the Re-fetch issue data action to slow down each section?

This worked for me...

  • Trigger: Issue Created
  • Action: Assign Issue
    • Assign To = Specify User
    • User = User1
  • Action: Re-fetch issue data
  • Action: Manage Watchers
    • Add = {{issue.assignee}} - different smart value here
  • Action: Re-fetch issue data
  • Action: Send email
    • To = {{issue.watchers.emailAddress}}
    • Subject/Content = ABC

^ Let us know if this works!

If not, could try multiple rules?

Ste

Keith Vedol October 6, 2023 edited

Hi @Ste Wright,

Thanks for the response.  The first part works correctly being that it adds the watcher after re-fetch.  The issue remaining is sending the notification out to the watchers.  I know JIRA automatically sends updates on tickets you are watching, just wondering why there is an issue here when it does indeed send those emails but not the ones setup in the rule.  I have similar rules for update, comment, and transition and none send emails to the watcher list.

Ste Wright
Community Champion
October 6, 2023

Hi @Keith Vedol 

What does the rules' audit log state in relation to the third action?

I tried this rule before answering and I received the custom email sent from Automation. 

Ste

Keith Vedol October 6, 2023

Hi @Ste Wright

I found the customer email and it was going somewhere else. Interesting that if I run a similar rule on update/comment/transition I get a ton of emails as opposed to one.  One other question, is there a way to send the initial email with a custom email rather than the Automation for JIRA one?  I know you can change the reply though it would be nice to be able to change that as well.

Ste Wright
Community Champion
October 6, 2023

Hi @Keith Vedol 

I don't believe so - it looks like it's a current suggestion though, vote for/follow it here: https://jira.atlassian.com/browse/AUTO-76

You can customer the sender's name though:

  • Go back to your Send email action
  • Open the "More options" menu below the Content box
  • Change the "From name" to whatever you want it to be

Ste

Like • Keith Vedol likes this
Keith Vedol October 7, 2023

@Ste Wright

Thank You for your assistance as it is really appreciated!

Regards,
Keith

Like • Ste Wright likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events