SOAP API - Get task effort per day

Tuesday, April 7, 2015 11:58:31 AM

Hi,

we’re using SpiraTeam 4.2.0.6 and we want to use the SOAP API to import tasks into our project management system.

Is it possible to query the effort for tasks that run over several days, for each day?

Example: A developer is working on these days at the task ABC:

2015-04-01: 6 h
2015-04-02: 8 h

2015-04-07: 5 h

And on these days at the task DEF:

2015-04-01: 2 h
2015-04-07: 1 h

We need a function, that we can use to query the effort for the tasks ABC and DEF for individual days (2015-04-01/02/07). Which function can we use for this requirement?

Regards
Thomas


2 Replies
Thursday, April 9, 2015 5:48:18 AM
Avatar
re: hein on Tuesday, April 7, 2015 11:58:31 AM

Hi Thomas

We don't store the task estimates on a specific day-by-day basis, we simply store the start-date and end-date of the task and apportion its effort over those days.

So just retrieve the Tasks using the SOAP API and then use the start-date and end-date fields along with the effort value to calculate the effort per day (effort / number days).

Regards

Adam

Thursday, April 9, 2015 9:10:36 AM
Avatar
re: inflectra.adam on Thursday, April 9, 2015
Hi Adam,

is it possible to get the history of a task via the SOAP API?

Regards
Thomas
Statistics
  • Started: Tuesday, April 7, 2015 11:58:31 AM
  • Last Reply: Thursday, April 9, 2015 9:10:36 AM
  • Replies: 2
  • Views: 1135