How to use issuesApproachingLimitParams in Automation to get the list of issues approaching the limit

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

Summary

Get issue limit report API is used to all issues breaching the limits. If the requirement is to fetch the issues nearing the limit, we can use issuesApproachingLimitParams in the request body.

For example, to get all issues where the comment has crossed 4500. In this KB, we'll see how we can use issuesApproachingLimitParams in the automation rule to get the list of issues approaching the limit.

Environment

Jira Cloud

Solution

Automation Rule Configuration:

Trigger: Choose the trigger as per your requirement.

Condition: Add condition as required

Action:

  • Send web request: Update the fields as below

    • Web request URL: https://<sitename>.atlassian.net/rest/api/3/issue/limit/report?isReturningKeys=true

    • HTTP method: GET

    • Web request body: Custom data

    • Custom data

      1 {"issuesApproachingLimitParams": {"comment": 4500, "attachment": 1600, "issuelinks": 1600, "remoteIssueLinks": 1600, "worklog": 8000}}
    • Ensure to select "Delay execution of subsequent rule actions until we've received a response for this web request"

    • Headers (optional)

  • Log Action: Use the below smart value to extract the Issues approaching the limit:

    1 {{webResponse.body.issuesApproachingLimit}}
Updated on April 24, 2025

Still need help?

The Atlassian Community is here for you.