Our script listeners do not appear anymore in the page where they should be viewed.
We can still add others, and they still work, as we can see their effects, but we cannot modify already added ones because we cannot see them.
I added a screenshot to be more clear.
Running the below in our database:
SELECT * FROM PROPERTYTEXT left join PROPERTYENTRY on PROPERTYTEXT.ID = PROPERTYENTRY.ID where PROPERTY_KEY='com.onresolve.jira.groovy.groovyrunner:groovyrunner';
gives us the following result:
If we run:
\copy (SELECT * FROM PROPERTYTEXT left join PROPERTYENTRY on PROPERTYTEXT.ID = PROPERTYENTRY.ID where PROPERTY_KEY='com.onresolve.jira.groovy.groovyrunner:groovyrunner') To '/tmp/testingview.csv' With CSV Delimiter ','
all existing script listeners get copied into a csv;
When removing all script listeners, the database shows correct results:
When starting to add them back, after a few are added, they just randomly disappear. When they can still be viewed in JIRA, they also appear in the database.
We tend to see this when one or two listeners have serious compilation problems.
You mentioned that after adding a few listeners manually, the problem resurfaces. It might be worthwhile to specifically note which listener it is that seems to break the UI when you add it. Try adding a listener and refreshing the page one at a time until you find the problematic listener. You can then add its code to your question here or in another question for review.
The problem seems to have solved itself mostly, because we did not change a listener and we were not really able to find a problematic one.
We added them all again (lucky for us we had them stored elsewhere too), and they disappeared again, and then we added them all again and they haven't disappeared.
Also, for us, when it happened, they were somehow only missing from the interface, as their effects were still happening.
Sorry I don't have a clear solution, but I would also try what Jonny suggested in the above comment, perhaps there is a problematic one.
Atlas Camp is our developer event which will take place in Barcelona, Spain from the 6th -7th of September . This is a great opportunity to meet other developers and get n...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG