Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

scriptrunner listener event question

Team Systemadministration
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 31, 2025

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

2 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Jim Knepley - ReleaseTEAM
Atlassian Partner
March 31, 2025

Hi @Team Systemadministration 

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.

1 vote
Tuncay Senturk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 31, 2025

Hi @Team Systemadministration 

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.

 

 

DEPLOYMENT TYPE
SERVER
VERSION
10.3.4
TAGS
atlassian, loom, AI, meeting recording, community

[NEW] Record your meetings with Loom

Welcome to great meetings, with less work. Automatically record, summarize, and share instant recaps of your meetings with Loom AI.

Learn more
AUG Leaders

Atlassian Community Events