I want to implement : For example, I don't want user link another issue with linktype is parent of for 'Work Package' IssueType. Because, any other issue type should never be a parent of a Work Package. So My idea is that I would use a live field for validation of the linked issues OR an update listener to make sure that the links don't go the wrong way. If user link issue with the linked type 'is a parent of' then will pop up an error.
If linked issuetype == Work package and linktype is 'is a parent of 'then will pop up an error ''Any other issue type should never be a parent of a Work Package."
Anyone can provide me the demo code?
Thanks a lot