How to send a notification when new issue is added to JQL list of JIRA.
I have JQL filter which has 50 issues, I want to get notification from JIRA when any new issue is added to the list.
Updates on existing issues should not be notified.
That's not how JQL works, it is not a list of issues, it is a filter.
In one sense, there's an easy answer to the question. Issues are never "added" because it's not a list, so there's no need to send any notifications.
What you need to do is run the filter regularly, with an extra clause that says "since the last time it was run". So, take your existing filter and create a copy of it. Let's say it's simply "project = X and resolution = unresolved". Copy that and add "and created > -1h". Now save the new filter, and then subscribe to it, setting the timer to 1 hour.
Thanks for looking into it.
But my requirement is different!
I have filter : (Project="A" OR Project="B") AND Fixversion="XYZ"
Presently it is listing 50+ issues I dont want to see any notifiaction for these existing issues but if at all new issue falls under this criteria I need to be notified.
As you mentined if I use created >-1h , It will not work.
Let me explain you :-
1) (Project="A" OR Project="B") AND Fixversion="XYZ" is my filter.
If some updated an existing issue with fixversion="XYZ" the filter which you gave does not work.
If I add updated >-1h filter will notify for the all the issues which falls under the criteria.
What I am looking for is "There should be a way to compare the list of issues which were there.
and list of issues which are there in the filter after certail point of time and notify for the newly added issues.
I'm afraid the filter I gave you works perfectly for me, it tells me the issues that were created in the previous hour that match the project and version.There is no comparison function in JIRA, a filter simply tells you what matches the search when it is run.To get a list of issues "added" in the last hour, run(Project="A" OR Project="B") AND Fixversion="XYZ" and created >-1h
Hey Atlassian community, I help lead engineering at Sentry, an open-source error-tracking and monitoring tool that integrates with Jira. We started using Jira Software Cloud internally last year, a...
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!
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