How to configure Automation to send weekly reminder emails for assignee to log work

Still need help?

The Atlassian Community is here for you.

Ask the community

robotsnoindex


  

Platform Notice: Cloud, Server, and Data Center - This article applies equally to all platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

  

Summary

These are steps on how to use Automation to send weekly reminder emails to assignee to log work.

The most important is to be able to search for such issues via JQL query. The below example is able to search for such issues in a limited capacity, so there will be some scenarios which it does not cover.

Solution

  1. First, create a filter with the following JQL and save it. Let's refer to this as 'filterA'

    project = "Project A" AND worklogdate >= startOfWeek()
    • This will return all issues where work was logged this week
    • This is a basic query. Feel free to modify accordingly, but the important thing is that it returns issues where work has been logged this week
  2. Next, test the following JQL

    project = "Project A" AND updated >= startOfWeek() and filter != filterA
    • This query will return all issues which was updated this week but no work has been logged
    • We will be sending reminders based on the list of issues returned by this query
  3. Navigate to the 'Automation rules' page and click the 'Create rule' button
  4. Select the Scheduled trigger and click on 'Use cron expression'. Use the below as the cron value

    0 30 17 ? * 6
  5. Choose the option run a JQL search and pass results to subsequent conditions and actions and use JQL from step 2. Click on 'Save'

    project = "Project A" AND updated >= startOfWeek() and filter != filterA

  6. In the next page, select New action and choose Send email
  7. Fill in the To, Subject and Content accordingly. For example
    1. To: Choose 'Assignee' or any particular group from the dropdown, or add the email address directly
    2. Subject: The subject of your email. Eg. Log work for {{issue.key}}
    3. Content: Content of the email. Eg. This ticket was updated the past week but no work has been logged. Please review.
  8. Click on the 'Save' button, name your rule and click 'Turn it on'
  9. On the left hand side, click on 'Rule details'
  10. Modify the name/description of the rule accordingly. Select 'Single project' in Scope and choose the relevant project


Last modified on Jun 3, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.