It's all about the answers!

Ask a question

RTC Calculated Default Value


Marcin Blacha (146214) | asked Aug 25 '17, 5:33 a.m.

Hi,

in RTC we have two types of value providers - default and calculated. Is it possible to mix them to have calculated default value? What I want is to have different default descriptions on workitem creation depending on choosed enumeration.
In example I have enumeration called department with values "Finance", "Development", "Production". If you choose "Finance", default description should be "Finance description number one", if "Devekopment" default description should be "Develop something", and if "Production" default description should be "Plan this as soon as possible".

Can it be done and how?

One answer



permanent link
Ralph Schoon (63.1k33645) | answered Aug 25 '17, 6:22 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
edited Aug 25 '17, 6:26 a.m.

Since default values are only run at creation time, where for all intents and purposes there is pretty much no information on the work item, you want to use a calculated value. Consider what information is available when a work item is created:

  • Creation Date
  • Creator, maybe
  • Owning project area?

All the other values such as Type, category etc and especially your custom enumerations only become available after the creation of the work item, when chosen by the user.

So you will likely have to use a calculated value. You will have to find out how to deal with the "calculated default" and the situation where users add their own information.

Your answer


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