Forums

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

Scriptrunner for Confluence Built In Script Page Load Error

Anja Brkljacic
Contributor
September 25, 2020

We have a Confluence Space Admin that is trying to run a "bulk add/remove labels" built in script in Scriptrunner for Confluence, but gets a "load error" instead of the page suggestions loading. Any suggestions on what else we need to enable so the user can bulk add and remove labels?

Thanks!

Anja Brkljacic

2 answers

Suggest an answer

Log in or Sign up to answer
1 vote
Jia Jie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 3, 2021

Hi Margaret,

It's possible caused by this bug here: Field server-side behaviour scripts trigger when create/edit window opened before the user has interacted with the field

When you submit the form and an error message is thrown, it reload the screen and the field server-side behaviour scripts triggered before/without interacting with the field.

0 votes
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
February 16, 2021

That is not my experience...

What I normally see is that the script runs once when you open the screen (be that for create, edit or any transition) and the form is initialized with its starting value. FOr create that could be "null" or the default value for the context. For edit/transition, that would be with the value coming from the issue object in the back-end.

Then, it executes only when you change the value.

I've never seen it executing when submitting the form.

TAGS
AUG Leaders

Atlassian Community Events