Hey,
Is it possible to create a PRE-event on a Jira issue create/update acitivity. basically what i need is whenever someone tries to create or update a Jira issue which is of a particular issue Type then my listener should be called to validate few custom fields. If the validation is failed then the event should be cancelled and the user should not be able to create/update issue.
Please advice.
Thanks,
No, there's no way to do this. Also, a listener is the wrong place to do this - they happen after the issue is updated, it's too late to do any validation.
You should do this in a validator on the create transition for the issue type.
Hey @Nic Brough -Adaptavist- ,
Thanks for the prompt response on this.
Can you point me to some doc or any example on how to do this?
How are you planning to create the validator? There are only a couple off-the-shelf with plain Jira, so the question is are you going to add a plugin to provide one, write an app to do it, or look at one of the scripting or automation apps?
I would prefer doing it via plugin. Can you point me in the right direction as to how to do it?
It looks like you're new here. Sign in or register to get started.