Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 2.5.4


Section


Column
width600px


Panel
borderColor#333f48
bgColor#FFFFFF
titleColor#eeeeee
borderWidth1
titleBGColor#333f48
borderStylesolid
titleOn this page

Table of Contents
maxLevel2



Column




Features used to implement the example



Example: Number of open subtasks

Count the number of subtasks, which are open (in status category  To Do or In Progress).

A valid configuration for this Calculated Text Field:

Text to be parsed

:

  • count(filterByPredicate(subtasks(), ^%{00144} = "To Do" OR ^%{00144} = "In Progress"))


Note that:

  • %{00144} is the field code for Status Category
  • The ^ is used for referencing the field values of the issue list l - in this case subtasks(). Without, the field codes would reference to the current issue.
    [Schema for function filterByPredicate(issue list l, boolean expression predicate)]


Once configured and added to an issue screen, the result will look like this:





Other examples of that function

Incoming Links
pageCalculated Number Field
labelsexample



Related Usage Examples

Content by Label
showSpacefalse
cqllabel = "example" and label = "calculated-field" and space = currentSpace()