i am looking for a event to chose in a scriptrunner listener that can check if my instance has just been started.
background info:
i need to add a colored bar under the top navigation including indicators what instance i am currently looking at.
Prod, Test, Stage
1. idea was to auto add lookandfeel options to color up the navigation header. but not working.
2. was to add an announcement banner. works. but when i import prod data into test the banner will be overwritten of course.
so i want to add a startup script based on the instance that is being started. i created three. one for each containing the color and instance name. i want a listner that recognizes when jira has been started and then automatically sets the banner.
is this possible?
thank you
I agree with @Tuncay Senturk, I don't think there's an event you can subscribe to that is sent on Jira startup.
You might have success by using ScriptRunner to register a webhook and trigger the process once the server is ready to accept requests.
I don't know of a specific instance that starts an event, but when an instance is started, the PluginEnabled event (com.atlassian.plugin.event.events.PluginEnabledEvent) is triggered. Plugins listen for this event and take action accordingly. You can use this event, but note that it is also triggered when a plugin is activated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.
Learn moreOnline 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.