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,
Angelo,
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.
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 (60.5k●3●36●43)
| 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.
|