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
Community Members
Community Events
Community Groups

How can I run Script Fields in Jira Portfolio?


I'm trying to trigger a Custom field in the Jira Portfolio scenario. This custom field is based on a script that has been created in the ScriptRunner, Fields sub-tab.

Thanks in advance.

1 answer

0 votes

A scripted field is not a true field.  It is a read-only display of the results of a calculation (the logic in the script behind the field)

A custom field is calculated when an issue is re-indexed, usually when it is created, or there are any updates such as edit, transition or comment.  (That's not strictly true, it's a bit more complex, but for most purposes, we can assume "script calculates field when issue is indexed").  I guess you could say that is the "trigger" - any issue update will "trigger" a custom field to be recalculated.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Online AMA this week: Your project management questions answered by Jira Design Lead James Rotanson

We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...

187 views 1 6
Read article

Atlassian Community Events