Within our Refinement process, I would like to store the current progress of Refinement in a Custom field, so the completion of Refinement for each issue can be shown and the overall progress of refinement can be displayed as graph. I am now at the point that I am using the following Smart values
{{#if(issue.fields.'API change'.isNotEmpty())}}1{{/}}+
{{#if(issue.fields.'DIS change'.isNotEmpty())}}1{{/}}+
{#if(issue.fields.'DoD'.isNotEmpty())}}1{{/}}+
{{#if(issue.fields.'Test plan'.isNotEmpty())}}1{{/}} +
{{#if(issue.fields.'Use Case 1'.isNotEmpty())}}1{{/}}
{{/=}}
I would expect any result between empty and 5
However, I only get ++++ as a result so
Later I added {{#=}} at the beginning and {{/=}} at the end, but then I get errors that it cannot calculate non-numeric values.
Then I added |0 to have the value 0 instead of null, like in this example
{{#if(issue.fields.'API change'.isNotEmpty())}}1|0{{/}}
However, the non-empty fields are still not counted.
Is there a way to accomplish this?