Warning during WorkItem link deletion
Is there the possibility (also with a plugin) to display an alert when a work item link is deleted?
Thanks in advance.
Bye
|
2 answers
Angelo,
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 Luca,
Luca Martinucci
commented Oct 17 '17, 5:55 a.m.
Angelo,
Luca Martinucci
commented Oct 17 '17, 5:56 a.m.
Sorry, a follow-up action, rather than an advisor, would better perform this check.
Follow up action are not what should be used to prevent saving in such a case. A pre-condition or advisor should be used.
The design with the flag does not seem to be a good one. Way too complex and annoying. You will also have all the attribute changes in the work item history.
Luca Martinucci
commented Oct 17 '17, 7:02 a.m.
Regardless of the considerations about the complexity of the solution, perhaps the only way to implement it is to develop both an advisor (to perform the check), and a participant (follow-up action) to unflag the attribute after any action.
I have not been able to come up with a better solution.
showing 5 of 7
show 2 more comments
|
Ralph Schoon (63.3k●3●36●46)
| answered Oct 17 '17, 3:15 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Oct 17 '17, 6:05 a.m. The simple answer is no. The UI is not even built for pop up windows.
|
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.