Want to Execute a DOJO script whenever a new Link is added.
I have a task to save the summery of the Link of Type Related Artefact. One way of doing this to add the summery of Artefact when the link is being created on the UI. So it there a way, either Script or Plugin to hook a handler at link creation.
One answer
Attribute customization/JavaScript does not get triggered when adding or removing links.
You can only work on the work item save operation and create a follow up action there.Please note that there are link types for example tracks/contributes to that will not trigger a work item save if removed.
If it triggers you will have to look into the old version links and the new ones and find the change, I have seen posts here discussing some of the challenges.
To learn more start here: https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/