It's all about the answers!

Ask a question

RTC - Can I define dependency value on 'Found in' (Releases) attributes


0
1
Rakefet Berger (43215) | asked May 12 '15, 4:00 a.m.
 Hi,

I want to define enumeration field values on the values of Found in attributes (which comes from the release list).
Can I do it?

Accepted answer


permanent link
Ralph Schoon (63.1k33645) | answered May 12 '15, 4:48 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As you can easily try out, you apparently can:

Rakefet Berger selected this answer as the correct answer

One other answer



permanent link
Rakefet Berger (43215) | answered May 12 '15, 4:55 a.m.
 Hi Ralph,

Thanks.
I'm looking for the opposite dependencies.
Meaning the user first will choose the enumeration field (in your example it is Priority) and by that he will get the list of specific found in release.
If I'm trying to switch between them - I will not get the found in as part of the list.

I though that this definition is working only one direction, am I right? 

Comments
Ralph Schoon commented May 12 '15, 4:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The release is not an enumeration. the second attribute/dependent enumeration only supports enumeration type attributes.


Ralph Schoon commented May 12 '15, 5:00 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

And yes, it is only into the direction f the dependent enumeration.


Rakefet Berger commented Jul 21 '15, 6:14 a.m.

 Hi Ralph,


Thanks for your answer, I'm still investigating this issue.
I'm trying to create dependencies between Found in values  and selected category
Is there a way to do it?
Is it planned to implemented?
Perhaps this can be implemented by scripting?

This is the third customer this issue is raised.

Thanks


Ralph Schoon commented Jul 21 '15, 6:21 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

You could try JavaScript or Java. I personally prefer Java.


Ralph Schoon commented Jul 21 '15, 6:25 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Please note, that you have to pass the UUID of the release if you return a value. You can not pass the name of the release.

In addition, in JavaScript you can not read the available values in the releases of the project area.

You would have to use getValue() to print the UUIDs using JavaScript and hardcode the UUID's into the JavaScript. See

  lab 5 the spy tool.


Your answer


Register or to post your answer.