I am trying to run any listeners basically from ScriptRunner on Jira Cloud, I've added the examples but they do not trigger.
I've removed one example and change the other as follows:
- left the condition as: `!!issue.epic && issue.issueType.name != 'Sub-task'`
- updated the script to just log as: `logger.info("The issue is ${issue}")`
The example listeners do not get triggered neither is mine.
Is there any extra step that I need to make in order to get the ScriptRunner listeners basically trigger on Jira issue events?
Welcome to the Atlassian Community.
I think the issue is with your condition.
To confirm that just remove the condition and run simple code or just display log
and check the listener is triggering or not
Accept the answer if it helps
Doesn't seem to fire at all, I have empty condition, the events are Issue Created and Issue Updated, in the script I only have one line of log.
I want to mention that I didn't installed ScriptRunner, it was already installed by previous employees, with that in mind maybe they disabled it somehow in terms of events.
Are there any Jira webhooks that ScriptRunner sets up while installing itself?
I see no webhooks for ScriptRunner in Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried this and its working fine. If you see at the bottom of page you can see the last run history. I selected the example script to comment on issue and its working fine
If its still not work then try to install plugin again and check
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's basically a license problem, the ScriptRunner doesn't seem to be licensed on my end.
Sorry for all the trouble that I've put you through, thank you for your time and support.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.