It's all about the answers!

Ask a question

how to add warning messages in RTC ?

vinitha dsouza (1271367) | asked Sep 16 '16, 8:01 a.m.

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

permanent link
Dinesh Kumar B (4.1k413) | answered Sep 16 '16, 8:10 a.m.
Hi Vinitha,

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 :

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.

vinitha dsouza selected this answer as the correct answer

vinitha dsouza commented Sep 16 '16, 8:19 a.m.

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

Dinesh Kumar B commented Sep 16 '16, 10:38 a.m. | edited Sep 16 '16, 10:39 a.m.

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 :

vinitha dsouza commented Sep 16 '16, 10:50 a.m.


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

Your answer

Register or to post your answer.