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,293,708
Community Members
 
Community Events
165
Community Groups

For which issues a scripted field is calculated precisely ?

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

0 votes
Answer accepted

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

217 views 0 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you