getting all efforts per user in specified period

38 views
Skip to first unread message

Slava Davydov

unread,
May 21, 2012, 3:48:36 AM5/21/12
to VersionOne-dev
Hi all,
I would like to get efforts per user.
In my first variant I used
[myMember].getSum("Actuals", filter, "Value")

where
EffortFilter filter = new EffortFilter();
filter.project.add(project);

but
MemberLoadPage

shows me less hours for my user. I suppose that this is because the
report uses efforts per current iteration in project. But when I uses
filter.iteration, SDK throws me the error ...
com.versionone.apiclient.MetaException: Unknown AttributeDefinition:
Actual.Iteration


Then I tried to use period of time and also no luck:
URL: http://[ip]/[instance]/meta.v1/Actual/Iteration

com.versionone.apiclient.MetaException: Unknown AttributeDefinition:
Member.Actuals[(Scope='Scope
%3A111189';Date>='2012-01-01+00%3A00%3A01')]


URL: http://[ip]/[instance]/meta.v1/Member/Actuals[(Scope='Scope%3A111189';Date>='2012-01-01+00%3A00%3A01')]

Is there any solution to get proper User load report?

ibuchanan

unread,
May 21, 2012, 10:00:05 AM5/21/12
to version...@googlegroups.com
Slava,
 
As a raw URL, I think what you want is something like this:
(username: admin, password: admin)
 
The above does not filter on project or iteration so it should show you all effort based only on the date filters. Can you try against your instance and see if the data matches your expectations? Then I can give you some pointers for converting this to SDK code.
 
Yours truly,
Ian Buchanan
Product Manager for Platform and Integrations
Reply all
Reply to author
Forward
0 new messages