Skip to main content
Skip table of contents

Priority assessment based on field values

Return a number that defines the priority of an issue based on the values of certain fields. If one of the field contains one of the defined values, the total number will increase by one.

Configuration

Create a Custom smart number field and use the General parsing mode.

Expression

CODE
%{sum([%{issue.cfnnnnn} = "Option 1" ? 1 : 0, %{issue.cfppppp} = "Option 2" ? 1 
: 0 ])}

Please, replace nnnnn and ppppp with the IDs of the custom fields, e.g. Select List (single choice).

Format

Default

Used parser functions

The links lead to the JWTC documentation because the parser functions are shared functionalities.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.