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.
Thanks,
SRIni
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.
Hi Nic,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What "does not work"? Adding the "created >-1h" means "created in the last hour". What you're asking for is your filter plus that.
Have I misunderstood what you are looking for?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What about the issues which are updted?
If a issue got created yesterday with no fix version values and if some one changes fixversion to "XYZ" today.
This also should be taken care
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, use updated instead of created.
But, think carefully, as you probably don't mean just "updated", you might want to think about "fixversion was changed to" type clauses.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.