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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Hipchat

Moving from Hipchat to Stride? Here’s what you’ll love

Heya, Hipchat friends! We’re so happy you’re checking out   Stride. Whether you know it or not, you have been instrumental in making Stride come to life. Every feature, design, and functionality...

68 views 2 6
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