Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC: Is it possible to export the "Work Progress" attribute to CSV?

The "Progress" attribute on work item. Is it possible to include it to the CSV export? Thanks.

 

0 votes

Comments

 Hi , Were you able to get the Work Progress value ? I have created an attribute of type Small string and use "Calculated Value" 

I'm trying the simple script as below.
While configuring the calculated value on the new attribute created, i'm unable to find Workprogress or Progress as dependent field.

Please let me know if I'm doing something wrong.

dojo.provide("com.ibm.rukbs.ProgressCopy");
(function() {
    dojo.declare("com.ibm.rukbs.ProgressCopy", null, {
        getValue: function(attribute, workItem, configuration) {
                 var ProgressValue = workitem.getValue("Work Progress");
        return ProgressValue;
console.log("Progress Value is : " + ProgressValue);
        }
    });
})();

 Hello,

 "Work Progress" is not defined as an attribute,
so I think your script will not return any value.

On the other hand, you may calculate it (hrs spent vs estimate / corrected estimate).

Eric

 Thank you, Eric


Unfortunately that's not straightforward as i have only Story points attribute on the Enhancement level. I need to fetch all the children and do this calculation :)


Accepted answer

Permanent link
 Hello Clement,
my understanding is that Progress is a calculated attribute (hours spent vs estimate)
and this work is done by the PlanRestService.
So I don't think it can be CSV exported.

As a workaround, you may want to add a hidden (no presented) and read-only custom attribute,
which value might be set by a custom js in that would fetch the value of the progress attribute.
This custom attribute could be CSV exported.


Hope it helps.
Eric.


Clement Liu selected this answer as the correct answer

1 vote

Comments

Eric, thank you.  

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,027

Question asked: Aug 28 '13, 9:34 a.m.

Question was seen: 4,127 times

Last updated: Apr 03 '19, 12:03 a.m.

Confirmation Cancel Confirm