Hello,
I have created my own custom listener and it is working well however I would like to activate it only for few projects but not to be activated for the rest of the projects I have in my JIRA.
At first, I would like to active it only for one project.
Could you please advise how this can be achieved in JIRA?
Regards,
Dylan
Listeners are not project related, they are event driven. There's no way to say "listener X belongs to project Y" because that's a structural nonsense.
There are a couple of simple approaches to processing this though
1) Structure your workflows and config so that the events you are interested in are thrown by the workflows in use for the projects you are interested in. This can be quite hard to set up and maintain, and will only really work for workflow generated events (i.e. It won't work for standard events like "updated", "work logged" etc)
2) Write your listener so that it deals with "project" as part of it's procedure. I've just written a listener, where one config item is "run for project(s)" and the code says "if !issue.project in projectlist exit"
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.