Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to make the "Add Related" required/mandatory?

Hi, for a special type of workitem, I want to make the "Add Related" field under "Links" section to be required on New State. 
can you share some documentation on how can this be done?

I am referring to https://jazz.net/wiki/bin/view/Main/AttributeCustomization, but it doesn't provide any details on which dojo to use for "Add Related" field.

Please let me know.

0 votes



One answer

Permanent link
There is no way to do this with attribute customization, as this is a link and not a work item attribute. You would have to create a custom advisor for work item save for this. https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/ shows an example.

0 votes

Comments

Thanks Ralph.


Actually, I have a custom attribute named "Resolving Work item" of type "work item list". It is on the "Overview tab". 
In RTC, if I add a work item in this field, it doesn't get cross referenced to the added work item.

The cross reference works godo when add iwork item via LInks Tab > Add Related). 

Is there a way to achieve this cross reference on "Work Item List"?

Not that I am aware of, except creating automation. You can user https://rsjazz.wordpress.com/2013/12/17/using-reference-presentations-to-create-links-and-show-linked-work-items-in-rtc/ but then there will be no attribute any longer, just a presentation.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,024

Question asked: Dec 15 '15, 6:01 p.m.

Question was seen: 2,410 times

Last updated: Dec 17 '15, 3:01 a.m.

Confirmation Cancel Confirm