Date: Thu, 28 Mar 2024 13:09:14 +0100 (CET) Message-ID: <645536065.326.1711627754142@apps-confluence-5.apps-confluence.apps.svc.cluster.local> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_325_572660784.1711627754141" ------=_Part_325_572660784.1711627754141 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This function filters a number list by a give=
n logical expression where ^
is used f=
or referencing the current list v=
alue.
It basically iterates over each list element, checks whet= her the logical expression returns true, and if it does, <= strong>includes the element in the output.=
filterBy= Predicate(numberList, logicalExpression) #Output: Number list
Variant for text lists. The current list value is refer=
enced by ^%.
filterBy= Predicate(textList, logicalExpression) #Output: Text list
Variant for issue lists.
filterBy= Predicate(issueList, logicalExpression) #Output: Issue list
This is one of the most powerful functions in JWT = since it combines filtering with boolean or logical expressions.
To freshen up your knowledge or to get some inspiration head over to:
Use case | JWT feature | Workflow function | Field type | Automated action | Parser functions |
---|---|---|---|---|---|
Bloc= k a transition until all sub-tasks have certain fields populated |
|
Logical validator<= /p> |
= | ||
Add watchers ignoring inactive users= |
|
usersInGroup()= isActive() toString() filterByPredicate() | |||
Match several values of a list |
|
toString() distinct() filterByPredicate() | |||
Number of open subtasks |
|
Number | = | ||
Block an Epic's transition depending on linked issues status and due dat= e |
|
Logical validator<= /p> |
= |