Schedule an automation to email Reporters of Issues without a Team assigned

Adam Taylor
Contributor
February 16, 2023

Hi all,

We use Jira cloud in such a way that an Issue needs to have a 'Team' (I think this is a custom field) assigned to it in order for it to appear on our team Scrum or Kanban boards.

At the moment we have people creating Issue but forgetting to assign them to a Team, meaning the Issue gets a bit lost.

I've already created an automation such that, when a Child Issue is raised for an Epic, it inherits the parent Epic's Team but...

I'd like to have something run daily that emails Reporters of Issues that don't have a Team assigned to the Issue, so that they can go add one.

Thanks for your help - I'm something of a newbie! 

1 answer

1 accepted

2 votes
Answer accepted
Tobias H
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 16, 2023

Hi Adam!

This should be doable by an automation with these three steps:

  1. WHEN: Scheduled (choose a time and weekdays)
  2. IF [Team Custom Field] is empty
  3. THEN Send emailemail-to-report.png

(Didn't have a good field to use, so went with Assignee, but select your preferred field instead.)

Tobias H
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 16, 2023

Would suggest composing the email along the lines of this:email-to-reporter-text.png

Here's a rundown of what the smare values will do:

{{issue.reporter.displayName.split(" ").first}} - Returns the reporters displayName (Ana Smith) but splits it to only display first name. (Remove everything after displayName if you wish for it to spell out the entire name).
{{issue.key}}
- Returns the issue's key, which is a unique identifier comprised of the project key and the issue's number. For example, PROJ-123

{{issue.summary}} - Returns the issue's summary

See more smart values here.

Like # people like this
Adam Taylor
Contributor
February 17, 2023

Thanks - that worked perfectly!

Like Tobias H likes this
Tobias H
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 17, 2023

Glad to hear it worked out! :D

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events