For which issues a scripted field is calculated precisely ?

Eddy Fras
Contributor
February 11, 2020

Hi,

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 ?

Thanks,

Eddy

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Pete Singleton
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 Leaders.
February 11, 2020

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.

TAGS
AUG Leaders

Atlassian Community Events