If no issues are created in a project for more than 4 weeks notify particular user

Hi,

I need to know how to notify an user if no issues are created in a project for more than 4 weeks.

I tried to use subscription filter. Like if there are no created dates in these 4 weeks then notify.

I used the below jql query as filter. 

project = "project" and issuetype = "issuetype"  AND  NOT (created > startOfWeek(-4w) and created< now())

 

This fetches no results . If this is true that is if there are no issues in this 4 weeks how can i notify the users.

Please suggest solutions on how to solve this. Also any other methods to acheive this requirement.

Thanks,

Krithica

1 answer

It's very hard to search for something that is not there.

A subscription is the closest you'll get, but your users will need to know that "this subscription with 0 results means the project is empty" and "if it has results, you can ignore it"

There isn't another way I can think of doing this without code.

Code idea, although not the only way to do it - have a project with one issue per project and a scripted field that returns the number of issues in the named project, and the date the project was created.  Then you can subscribe to "Project = projllist and project-issue-count < 1 and date-project-created < -4w"

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

452 views 0 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you