We have a Scripted Field (Numeric) which does a lot calculations using different regular fields (170 lines long) and come up with 1 numeric weight value for a ticket. We want to know how this will affect our system performance.
Mainly we want to know when this script is getting executed. Does this script get executed when ever a user views an issue ? What other actions will trigger the script while a user is working on the issue. Is there any caching attached to this ?
What happens if there are 1000 users viewing tickets at the same time where this scripted field is used.
We are trying to get a better understanding of how this Scripted field scripts get triggered in the back end.
Please let us know if you know how the above works .
Thank you for your time.
The scripted fields are run over the server side. They pull information from the server and present it to you.
If the scripted field is not restricted by any means (meaning it is applicable to all projects in Global Context) , then the script would run for all the issues, regardless if the scripted field is present on the screen or not.
I think if you restrict it to a certain project, then the field only runs in that particular project.
JIRA requests all the custom fields on each issue regardless they are present on the screen on it.
So you can verify it by getting all the custom fields with an issue.
I'm not sure what would happen when 1000 users view an issue simultaneously. I think that would moreover be dependable on what your script is actually doing over the server side.
If it just pinging the server for just one value and doing most of the calculations by itself (like arithmetic operations) , then I think it'd perform better than saying an issue pinging the server for 10-15 values and then doing calculations on .
This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.Read more
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs