Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,559,863
Community Members
 
Community Events
185
Community Groups

ScriptRunner - How to speed up behavior scripts within forms

Hi all,

We have scriptrunner behavior scripts running on basically all of our issue types, which helps us hide / show specific fields based on value(s) input by the end user.

We have come across several end users getting confused due to behavior scripts running "slow". IE: The the "Hiding / Showing" field scripts described above will not complete until 1-2 seconds after the form/screen loads, causing the user to see all fields within the form / screen for a second before some (if not most) fields just "disappear".

Is there a setting somewhere / something we can do to make sure the behavior scripts run before any end users see the forms / screens?

Thanks,

Mike

2 answers

1 accepted

0 votes
Answer accepted
Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2023

Hi @Michael

Regarding the slowness that you are encountering, could you please specify the current version of Jira and ScriptRunner that you are using?

Also, could you please ask the users to try and clear their browser cache to see if there is any improvement?

I am looking forward to your feedback.

Thank you and Kind regards,

Ram

Ram Kumar Aravindakshan _Adaptavist_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 24, 2023

Hi @Michael

For this case, we may need to do some further investigation.

I suggest opening a ticket on our Product Support webpage so our team can further investigate this issue.

I am looking forward to your feedback.

Thank you and Kind regards,

Ram

Hello again @Ram Kumar Aravindakshan _Adaptavist_

We have the latest version of Jira Data Center and ScriptRunner running (Jira v9.4.4 and ScriptRunner v8.3.0)

We have already tried clearing cache, and even tried these forms / screens on several different workstations / laptops throughout the office. All of them provide the same result. All fields show up for a second before the scripts complete; at which point the requested fields disappear.

Thanks,

Mike

Suggest an answer

Log in or Sign up to answer