how to programmatically set the value for type Deliverable
how to programmatically set the value for type Deliverable in RTC development,
I got a IDeliverable but to set the values for attribute ,as my attribute id is " com.ibm.team.workitem.attribute.version" which is returning null on calling the findAttribute method .
i have written code below :
IDeliverable deliverable = workItemClient.findDeliverableByName(projectArea, "6.0.0", IDeliverable.DEFAULT_PROFILE, monitor);
IAttribute requestedVersionAttribute = workItemCommon.findAttribute(workItem.getProjectArea(),"com.ibm.team.workitem.attribute.version" , monitor); // returning null here
Now how to set the values for my attribute of type Deliverable.?
attribute id is " com.ibm.team.workitem.attribute.version"
I got a IDeliverable but to set the values for attribute ,as my attribute id is " com.ibm.team.workitem.attribute.version" which is returning null on calling the findAttribute method .
i have written code below :
IDeliverable deliverable = workItemClient.findDeliverableByName(projectArea, "6.0.0", IDeliverable.DEFAULT_PROFILE, monitor);
IAttribute requestedVersionAttribute = workItemCommon.findAttribute(workItem.getProjectArea(),"com.ibm.team.workitem.attribute.version" , monitor); // returning null here
Now how to set the values for my attribute of type Deliverable.?
attribute id is " com.ibm.team.workitem.attribute.version"
One answer
Hi,
Did you find any solution for this problem. I am also trying to get ProjectArea attribute by its ID .
IAttribute ProjAreaAtt2 = workitemcommon.findAttribute(ipah2, "com.ibm.team.workitem.attribute.projectarea", monitor);
It is returning null. And I need to set this Attribute as well.
Thanks in Advance
Regards,
Radhika B.
Did you find any solution for this problem. I am also trying to get ProjectArea attribute by its ID .
IAttribute ProjAreaAtt2 = workitemcommon.findAttribute(ipah2, "com.ibm.team.workitem.attribute.projectarea", monitor);
It is returning null. And I need to set this Attribute as well.
Thanks in Advance
Regards,
Radhika B.