Skip to main content
Skip table of contents

Completion percentage by status

Return the completion percentage of a work item based on the status it is in.

Configuration

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

Expression

CODE
%{%{issue.status} = "Open" ? 0 : 
( %{issue.status} = "Planning" ? 15 : 
( %{issue.status} = "In Progress" ? 60 : 
( %{issue.status} = "In Review" ? 70 : 
( %{issue.status} = "Implementing" ? 85 : 100 ))))}

Please, replace the status names as well as the completion percentages with the ones of your choice. Any status not included in the sequence will return 1.

Format

Custom format

Pattern

###.##%

JavaScript errors detected

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

If this problem persists, please contact our support.