Check issue count while using Jira automation (Jira Server)

Jason Yeung
Contributor
August 18, 2021

Hi,

Currently I have a custom field named VAR which is a list of names. When an issue is created, the user can choose what VAR to assign the issue to via a drop-down. I want to configure an automation rule that will send an email out once a given VAR is assigned to 10 issues, but I couldn't find how to check the issue count in JIRA.

The following video shows how to obtain the count based with the "Lookup Issues" action: https://www.youtube.com/watch?v=EHEqrP2ZZFo

I would check the {{lookupIssues.size}} value to obtain the count. However this is for Jira Cloud and I only have Jira Server (on prem).

I was wondering how do I write something similar for Jira Server?

Sincerely,

Jason

 

 

1 answer

0 votes
Bill Sheboy
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.
August 19, 2021

Hi @Jason Yeung 

Full disclosure: I am using Jira Cloud...

My understanding is the Server equivalent to Cloud's Lookup Issues is to use a scheduled trigger with JQL, setting the option to process as a batch.  You may then use the smart value {{issues}} noting it is plural, and {{issues.size}} to get the count.

Best regards,
Bill

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.15
TAGS
AUG Leaders

Atlassian Community Events