How to associate user with custom attribute(System) and assign work item to the associated user after save
I need to design customize work item of change request where i want to associate single or multiple user with the attribute(System) in back-end hence in front-end when user select system from drop-down of (System) then on the basis of selected system, associated user(s) with that system will dsiplay in a read-only format below system attribute.
Secondly, when user save the work item then work item will also be assign to the same user who is associated with the selected system.
How can i achieve the above requirements ? please guide me
3 answers
Have you ever used ClearQuest before? Your requirement is very similar to what ClearQuest can do. If fact, your first requirement can be easily fulfilled in ClearQuest using a "stateless record type" (same for your other post https://jazz.net/forum/questions/205633/ui-control-in-rtc-which-can-allow-to-save-multiple-risks-with-different-values). Of course there is no such thing in RTC. To achieve a similar effect, you can consider using the dependent and parameterized HTTP Value Set detailed in the below article.
https://jazz.net/library/article/1257
For a general description of RTC attribute customization, see the following article.
https://jazz.net/library/article/1003
Your second requirement can be easily fulfilled with a "calculated value" script (see above article for details).
https://jazz.net/library/article/1257
For a general description of RTC attribute customization, see the following article.
https://jazz.net/library/article/1003
Your second requirement can be easily fulfilled with a "calculated value" script (see above article for details).
Comments
Donald Nong I understand your idea but there is no way to create enumeration for users. how can i make enumeration for users other than HTTP Value set ?
Comments
sam detweiler By system i mean custom attribute which probably have enumeration list of all the systems and with each value (like system A, system B etc) there will be some users associated with it therefore when user select system A then associated user will displayed below the field then when user click Save button then work-item will also be assigned(Same liek Ownby operation) to all the associated users
I hope now you understand the issue