Automation Rule| Capture Bug issue count of backlog via Jira automation

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

When an issue is created of Bug issue Type, capture the count of the Bug backlog(not in DONE status) and estimate if the backlog is more than 5.

Solution

Automation configuration approach suggestion:

Trigger:

  • When issue created

Condition: Issue fields condition

  • Field: issuetype

  • Condition: equal

  • Value: "bug"

Lookup issues:

  • JQL : issuetype = "bug" and status != done

Advanced compare condition :

  • First Value: {{lookupIssues.size }}

  • Condition: greater than

  • Second value: 5 (you define any number that you want)

Then Log action:

  • Log message: {{lookupIssues.size}}

Sharing snippet for reference :

Automation rule to count number of BUGs in backlog

Suggestion

You can use send email action instead of Log action in case you wish to get the email notification.

Updated on May 31, 2024

Still need help?

The Atlassian Community is here for you.