resolution()

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

Bash
resolution(id) #Output: Text

Examples

Parser expression

Description

Bash
%{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

Parameter

Input (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 

Will fail after resolution name update 

Bash
%{issue.resolution} = resolution(10000)
Bash
%{issue.resolution} = "Won't Fix"


(books) Use cases and examples