You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I have several Scriptrunner scripted fields defined in my Jira server.
These fields have a global context (they're not project specific) but they are hidden in almost all of my field configurations.
According to execution logs, it seems that the fields are calculated for all issues, even for those where the fields are hidden in field configuration.
Is this really the case ?
If yes, if we want a scripted field not to be calculated for all issues, we have to set a context and limit it to a exhaustive list of projects ?
Yes, the scripted field will be calculated for all issues if you don't have a context to limit it.
The fact that you have hidden the field from the screens does not mean it won't be calculated, the only way you can do that is via context, either based on project, issue type, or both.