How to get Modified Date attribute of a work Item
Hi,
How can we get Modified Date of any workitem with respect to state change (From New to In- progress etc.)?? there is a predefined method to get Due Date. How to get Modified Date? Thanks, Kruttika |
11 answers
Hi Karthik,
try this code for the date part: var ModifiedDate = dojo.date.stamp.fromISOString(workItem.getValue(com.ibm.team.workitem.api.common.WorkItemAttributes.MODIFIED)); var date= dojo.date.stamp.toISOString(ModifiedDate, {milliseconds:true, zulu:true}); console.log("Now is: " + date); and return the date based on the if condition. Thanks. |
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.