Warning during WorkItem link deletion
2 answers
Angelo,
I would write a follow-up action on work item save that does the following:
- retrieve all links that have been deleted during the current action;
- if this deleted links set is not null, send an alert.
List<IReference> removedReferences = new ArrayList<IReference>();
IWorkItemReferences refs = saveParameter.getNewReferences();
removedReferences = refs.getDeletedReferences(endPointDescriptor);
I have no ready-to-use examples, instead, for point 2.
Comments
showing 5 of 7
show 2 more comments