It's all about the answers!

Ask a question

Filter values of Owner attribute based on WI status?


Timur Markunin (6495160144) | asked Nov 01 '10, 2:32 p.m.
Is it possible to filter possible values of Owner attribute based on WI status? Could it be realized by Value Set Provider+javascript?

-Thanks in advance

4 answers



permanent link
Steven Wasleski (17633) | answered Nov 01 '10, 3:57 p.m.
JAZZ DEVELOPER
Timur,

I may be reading this (https://jazz.net/wiki/bin/view/Main/AttributeValueProviders) wrong, but it looks like scripted value providers can only use primitive types right now (search the page for the text "The supported API is currently very simple"). So, I believe the answer, at least for now, is no.

permanent link
Vladimir Amelin (70462126) | answered Nov 04 '10, 9:41 a.m.
Timur,

I may be reading this (https://jazz.net/wiki/bin/view/Main/AttributeValueProviders) wrong, but it looks like scripted value providers can only use primitive types right now (search the page for the text "The supported API is currently very simple"). So, I believe the answer, at least for now, is no.


Yes, looks like Default Value Provider can filter contributor's list by Role or scripted Value Provider to depend on status attribute. But ther's no way to combine.
It's not clear from this article how to use Dojo to :
- reach something except workitem data (e.g. Contributors properties)
- "redirect" to other Value Provider depending on other attribite Values
- get current list of possible values for any attribute

So it may be possible to script "static" lists for every state(or copy from other attributes), but not to filter dynamically, e.g. by Role.

permanent link
Vladimir Amelin (70462126) | answered Aug 18 '11, 10:10 a.m.
Any updates about such use case in RTC 3.0.1?

permanent link
Vladimir Amelin (70462126) | answered May 25 '12, 7:50 a.m.
..and are there any updates about such use case in RTC 2012?

Comments
Vladimir Amelin commented Sep 10 '12, 11:02 a.m.

Your answer


Register or to post your answer.