Constant Field Value for Sigma Time Spent

BMueller November 8, 2012

I am trying to use the Sigma Time Spent in a custom calculated field, but I need the Constant Field Value.

I use Structure, and am displaying the column Sigma (the symbol Sigma) Time Spent, which rolls up the total time spent for all tasks indented below the parent. I want that number to be used in a Jira Misc Custom Field calculated field. However, I have tried to use "aggregatetimespent" but that does not work.

What is the constant field value for Sigma Time Spent?

1 answer

1 accepted

1 vote
Answer accepted
Igor Sereda [ALM Works]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 9, 2012

The totals you see in Structure do not come from any custom field, but are calculated by Structure. They cannot be stored in a custom field in general case because you may have multiple structures and different values for the same issue but in different structures.

To use this value in a calculated field, you need to access Structure API. Some introduction is given here: https://wiki.almworks.com/x/oYF7 and the method you need is ProgressCalculator.getProgressInfo() - see http://almworks.com/structure/javadoc/latest/com/almworks/jira/structure/api/progress/ProgressCalculator.html

Hope this helps!
Igor

BMueller November 11, 2012

Attached is the picture I was referring to in the earlier post regarding Sigma Time Spent - see the column headers in the issue searcher

<img></img>

BMueller November 11, 2012

But the field Sigma Actual Time (using the actual symbol for Sigma, not the word), is available as a field in the normal Jira Issue Searcher too.

I can view Sigma Time Spent in Structur or in a normal Issue Filter. The issue filter doesn't have a concept of which structure is being used.

What is the constant field value for the Sigma Time Spent that is displayed in the Issue searcher?

See the column headings in the attached pic.

..

larger pic

Suggest an answer

Log in or Sign up to answer