How to get the values under Approval section?
Hi, in ELM 702 version Is there a way to fetch the Approval section details in ELM workitem like the Approver name/ Due date using the java plugins or without plugins? We are trying to send these data from ELM to other 3rd part system or we are also ok with being able to read these values and create some new attributes custom attributes that can hold these values and using these attributes we will send the data to 3rd party system. If it is possible is there any link to refer? |
One answer
Ralph Schoon (63.7k●3●36●48)
| answered Jan 09, 12:10 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jan 09, 1:08 p.m.
You can get that data in two ways:
Comments
Y Deepak
commented Jan 17, 1:15 a.m.
1) We are getting other attributes as follows but not approval descriptor and hence due date
Example:
workitemUrl =cnfprop.getWebContextUrl() + "/oslc/contexts/_4Fr-kMutEeejP9BlSk46Dw/workitems?"+"oslc.where=dc:modified%3E%22"+modifiedtime+"%22%20and%20rtc_cm:type=%22com.ibm.team.workitem.workitemtype.p6%22&oslc.pageSize=100&oslc.select=dcterms:identifier,dcterms:type,dcterms:title,rtc_cm:state,rtc_ext:com.ibm.team.workitem.attribute.ActualDuration,rtc_ext:com.ibm.team.workitem.attribute.currentplannedenddate";
is it possible to get Approvals(Due date, Approver) information by using above query(example) because we want the information through one query only.
If possible how we can add the approval in above query, please share the information.
2) Now, We also have to update the approval details(like approval due date) from our code. how can we update Approval descriptor that has no attribute id mapping(ex:approval duedate) ?
You try to get the information using the OSLC API. The approval data is not exposed in the OSLC API. Please carefully read my answer above.
|
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.