You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

This function returns the name of the resolution with the 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.

Additional information

Parameters used in this function

ParameterInput (data type)Description
id

NUMBER

A valid resolution id.
Output

This function returns a TEXT.

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

You might want to use this function for several parser expression where you are e.g. checking against the current resolution. So even if you rename the resolution afterwards, the parser expression still works and won't break.

Imagine an expression like this:

%{issue.resolution} = resolution(10000)

instead of:

%{issue.resolution} = "Won't fix"