Welcome to the Jazz Community Forum
how to add warning messages in RTC ?

I have a usecase Below :
I have a Change request workitem in project Area "A" and Story workitem in Project Area "B"
these workitems are linked by Contributes -Tracks relationship(Change request--> tracks--> Story)
Currently Alm offers all the link type possibilities ,
But i want to make sure the linktype between Change request to story is only tracks not any other linktype(eg,parent children)
Is there any way that how i can check this linktype automatically ?
Or can we warn the user if they mention other linktypes than tracks linktype ?
any help would be appreciated .
Accepted answer

you can limit the link types that are displayed for a work item type, if that would help, here is how you can do it :
https://jazz.net/library/article/1277
Otherwise, you would have to explore Operation Advisors that would prevent the save if the link type is not of certain type between the two work item types that are being linked.
hope this helps.
Dinesh
Comments

Hi Dinesh
Thank you for the quick response .
yes as a workaround i have reduced links by hiding linktypes .
But my use case is really on, how to prevent the wrong link types between WI ,Or warning user by some message .
can we do this via client side scripting ?
By using calculate value or script based value set ?
Thank You in advance

the Links section is actually a non-attribute part. Hence you do not have the control on them through the client side scripting or in other words the Attribute Customization.
So, you would have to rely on additionally provisioned plugins - operation advisors.
here is a post that discusses similar usecase :
https://jazz.net/forum/questions/218263/restrict-parent-child-links-between-work-items
1 vote

OK,
Thanks a lot ...
This is really a useful blog.