'Owned by' field is set automatically once another custom attributes value changes
Hello,
I have an enumeration custom attribute that I'd like to make 'Owned by' filed value depend on: once the custom attribute's value changes, I want the owner to be set automatically to a specific member.
I saw this solution: https://jazz.net/help-dev/clm/index.jsp?topic=%2Fcom.ibm.team.workitem.doc%2Ftopics%2Ft_configuring_dependent_enumeration.html but it's no ggod for my situation for 2 reasons:
1. it looks like RTC 6.0.3 doesn't have the option to base a custom vale on a Value Set
2. 'Owned by' field is not an enumeration field so it can't be picked as the "Dependent Enumeration".
Does someone have another solution?
|
2 answers
Ralph Schoon (63.6k●3●36●46)
| answered Jul 16 '17, 2:43 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 17 '17, 1:52 a.m. There are several ways of doing this - Attribute customization likely is not the best approach. It basically depends on what the real use case is to decide the approaches. A follow up action might be possible and, with limitation, a calculated value. See my problems with many similar requests below.
Comments
sara chason
commented Jul 17 '17, 7:52 a.m.
I think the use case wasn't very clear: we have a defect custom attribute that is parallel to "Team Area" field but has much more values (Component field). we are interested that once a value of the "Component" field is set, the "Owned By" field value will be set with a default owner right away, just like the owner fields optional values match the chosen team area members.
what's the simplest way of implementing this use case?
So where would the ownership information be coming from?
sara chason
commented Jul 23 '17, 10:28 a.m.
I want to use some sort of pre-defined mapping of Component-Owner and base my post-action on it. I just don't know how to create such a complicated "real time" post-action |
Geoffrey Clemm (30.1k●3●30●35)
| answered Jul 23 '17, 10:24 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER I believe you would have to write your own custom follow-up action to perform this. You would need to decide where to store your Component->Owner mapping information, so that you can modify that information without modifying the source code of your follow-up action. A couple of potential places are in the process-XML, or as a file attachment to the project area process. Comments
sara chason
commented Jul 23 '17, 10:29 a.m.
Your solution sounds good, can you please provide instructions about the above?
Geoffrey Clemm
commented Jul 24 '17, 4:19 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
You (or someone you designate) would need to work through Ralph's extension workshop ( https://jazz.net/library/article/1000 ). |
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.