This function returns the name of the resolution with a given ID.

Syntax
resolution(id) #Output: Text
Examples
Parser expressionDescription
%{resolution(10000)}

This example returns a text with the corresponding name of the resolution with the ID 10000,

e.g. Won't Fix

Additional information

Parameters used in this function

ParameterInput (data type)Description
id

NUMBER

A valid ID of a resolution.
Output

This function returns a TEXT

If there is no resolution with the given ID, the function returns NULL

Use this function to ensure expressions will continue to work after renaming resolutions:

Will continue to work after resolution name update (tick)Will fail after resolution name update (error)
%{issue.resolution} = resolution(10000)
%{issue.resolution} = "Won't Fix"


Use cases and examples