Calculated properties

90 views
Skip to first unread message

Søren Brønsted

unread,
Feb 9, 2012, 10:20:32 AM2/9/12
to Agilo for Trac
In agilo-1.3.4_PRO-py2.6 calculated properties were working in
backlogs, but now I have installed agilo-1.3.6.2_PRO-py2.7, but now
they not working. In my product backlog I have total_remaining_time
showed but the column has now value.
I have also tried the http://demo.agiloforscrum.com/ but I can not log
in.

regards
Søren

Stefano Rago

unread,
Feb 14, 2012, 4:53:39 AM2/14/12
to ag...@googlegroups.com
Hi Søren,
I have not been able to reproduce your issue. 
What browser are you using?
Can you please try and check if there are any errors in the javascript console of your browser?

Regarding the demo server, are you still not able to login? It usually takes some minutes before the demo server is updated with new user accounts.

Cheers


Stefano Rago
Software Engineer
Agilo Software GmbH
Gruenberger Str. 54
10245 Berlin, Germany



Amtsgericht Charlottenburg: HRB 127146
CEO Marion Eickmann, Andrea Tomasini

Søren Brønsted

unread,
Feb 22, 2012, 8:34:51 AM2/22/12
to ag...@googlegroups.com
> What browser are you using?
I am using firefox

> Can you please try and check if there are any errors in the javascript
> console of your browser?

No errors

>
> Regarding the demo server, are you still not able to login? It usually takes
> some minutes before the demo server is updated with new user accounts.

I have tried again today, but I can still not login. I can login into
http://www.agilofortrac.com.
When I try to reset my password it complains about username and email
does not exists.

I don't know if this information helps, but the database is upgraded
from trac 11 to trac 12

regards
Søren

--
Søren Brønsted
Kirkebjergvej 2
4623 Lille Skensved
+45 31 49 32 22
www.bronsted.dk

Søren Brønsted

unread,
Feb 23, 2012, 9:21:47 AM2/23/12
to ag...@googlegroups.com
Now I have made me an test environment and I have followed
installation instructions from
http://www.agilofortrac.com/en/documentation/installation-guide/

I have created a calculated property on the Story as
total_remaining_time = sum:get_outgoing.remaining_time

and on the Requirement I have created a calculated property as
total_remaining_time = sum:get_outgoing.total_remaining_time|type=story

and for the ProductBacklog for ticketstype Requirement and Story
Remaining time is selected and Total Remaining Time is choosen as
Alternative

The calculated properties are working as expected when I view a single
requirement or story, but on the ProductBacklog there are no value in
column Remaining Time. Column StoryPoints in the ProductBacklog shows
correctly on requirement and story.

My setup is:
Ubuntu server 11.10
Python 2.7.2
Trac 0.12.2
agilo-1.3.6.2_PRO-py2.7

Regards
Søren

Stefano Rago

unread,
Feb 28, 2012, 5:24:17 AM2/28/12
to ag...@googlegroups.com
Hi Søren,

On 23/feb/2012, at 15:21, Søren Brønsted wrote:

The calculated properties are working as expected when I view a single
requirement or story, but on the ProductBacklog there are no value in
column Remaining Time. Column StoryPoints in the ProductBacklog shows
correctly on requirement and story.


What happens if you remove the alternative columns?
Can you see values in the Remaining Time column for tasks in the backlog?

Try to incrementally add the calculated properties and check where it fails.

Also, if you have any other third party plugin, please try disabling it/them.

Cheers

Stefano Rago

Søren Brønsted

unread,
Feb 29, 2012, 4:12:38 AM2/29/12
to ag...@googlegroups.com
Hi Stefano

> What happens if you remove the alternative columns?

Nothing, still no value

> Can you see values in the Remaining Time column for tasks in the backlog?

Only if I enable task in Product Backlog.

> Try to incrementally add the calculated properties and check where it fails.

> Also, if you have any other third party plugin, please try disabling
> it/them.

No other plugin are enabled

Søren Brønsted

unread,
Feb 29, 2012, 5:04:18 AM2/29/12
to ag...@googlegroups.com
Hi again

In Manage Backlogs I select Product backlog and for ticket types
requiment, story and task is selected and in Columns Preferences I
select Total Remaining Time with no Alternative. When click on Product
Backlog I can now see Total Remaining Time and sums for requiment and
story. I don't anything for task and I guess that because task don't
have at field Total Remaining Time.
The total is by the way incorrect because it sum up all value in this
column, both requirement and story sums.
If go back to Manage Backlogs and only have requirement and story
selected but still have Total Remaining Time with no Alternative the
disappear again.

Stefano Rago

unread,
Mar 5, 2012, 4:16:05 AM3/5/12
to ag...@googlegroups.com
Hi Søren,

I have filed a bug in our internal tracking system, and hopefully the fix will be available in one of our next releases.
Thanks for pointing out this issue.

Cheers

Stefano Rago

Stefano Rago

unread,
Mar 13, 2012, 11:38:17 AM3/13/12
to ag...@googlegroups.com
Hi Søren,

On 29/feb/2012, at 11:04, Søren Brønsted wrote:

In Manage Backlogs I select Product backlog and for ticket types
requiment, story and task is selected and in Columns Preferences I
select Total Remaining Time with no Alternative. When click on Product
Backlog I can now see Total Remaining Time and sums for requiment and
story. I don't anything for task and I guess that because task don't
have at field Total Remaining Time.
The total is by the way incorrect because it sum up all value in this
column, both requirement and story sums.
If go back to Manage Backlogs and only have requirement and story
selected but still have Total Remaining Time with no Alternative the
disappear again.


I would like to update you about the bug you pointed out.
We are currently investigating the issue that is causing the calculated fields not to be displayed properly when the tickets required for the calculations are not included in the backlog.
Regarding the wrong total calculation you also pointed out, you can solve the problem by assigning a different name to one of the two types (Story, Requirement). E.g., instead of

I have created a calculated property on the Story as
total_remaining_time = sum:get_outgoing.remaining_time

and on the Requirement I have created a calculated property as
total_remaining_time = sum:get_outgoing.total_remaining_time|type=story

you could have something like
Story:
total_remaining_time = sum:get_outgoing.remaining_time

Requirement:
total_remaining_time_req = sum:get_outgoing.total_remaining_time|type=story

Then you can choose Total Remaining Time as primary field to be displayed in the backlog, and Total Remaining Time Req as alternative.

In this way the total should be calculated correctly as it will only consider Total Remaining Time fields in the calculation and exclude Total Remaining Time Req fields.

I will keep you updated regarding the fix for the other problem.

Thanks again for pointing out these problems.

Cheers

Stefano Rago

Stefano Rago

unread,
Mar 14, 2012, 11:39:26 AM3/14/12
to ag...@googlegroups.com
Hi Søren,

On 05/mar/2012, at 10:16, Stefano Rago wrote:

I have filed a bug in our internal tracking system, and hopefully the fix will be available in one of our next releases.
Thanks for pointing out this issue.

The bug has been fixed and the fix will be included in the next Agilo version.

Cheers


Stefano Rago

Søren Brønsted

unread,
Mar 31, 2012, 10:14:55 AM3/31/12
to ag...@googlegroups.com
Hi Stefano

Thanks a lots. Looking to next release :-)

best regards
Søren

2012/3/14 Stefano Rago <stefan...@agilosoftware.com>:

> --
> Follow Agilo on Twitter: http://twitter.com/agilofortrac
> Please support us by reviewing and voting on:
> http://userstories.com/products/8-agilo-for-scrum
> http://ohloh.net/p/agilo-trac
> http://freshmeat.net/projects/agiloforscrum
>
> You have received this message because you are subscribed to
> the "Agilo for Scrum" Google Group. This group is focused on
> supporting Agilo for Scrum users and is moderated by
> Agilo Software GmbH <http://www.agilosoftware.com>.
>
> To post to this group, send email to ag...@googlegroups.com
> To unsubscribe from this group, send an email to
> agilo+un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/agilo

Reply all
Reply to author
Forward
0 new messages