Constant Field Value for Sigma Time Spent

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

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

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>

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

626 views 6 12
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you