It's all about the answers!

Ask a question

how to add warning messages in RTC ?


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

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.
JAZZ DEVELOPER
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 :
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
vinitha dsouza selected this answer as the correct answer

Comments
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


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

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


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

OK,

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

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.