Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Calculated Attribute Presentation

Hello~

I read an article about calculating attribute.

https://jazz.net/wiki/bin/view/Main/CalculatedAttributePresentation

I tried to execute a plug-in but it doesn't get started.

I put a break point to debug. but it doesn't get caught.

I checked that in debug configuration it includes 'com.ibm.team.workitem.ide.ui' which example plug-in extends.

Any idea?

Thanks in advance.

0 votes



7 answers

Permanent link
I read an article about calculating attribute.

https://jazz.net/wiki/bin/view/Main/CalculatedAttributePresentation

I tried to execute a plug-in but it doesn't get started.

I put a break point to debug. but it doesn't get caught.

I checked that in debug configuration it includes
'com.ibm.team.workitem.ide.ui' which example plug-in extends.

The Wiki page is rather dated, and there is more support for calculated
attributes in 2.0.0.2 and 3.0.

https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
An article about this functionality in 3.0 is in the works.

Could you let me know what you are trying to implement?

--
Regards,
Patrick
RTC Work Item Component Lead

0 votes


Permanent link
What I'm trying to do is field dependency.

For example, value of list box is changed, B list box dependent on A should be changed dynamically.

I checked that https://jazz.net/wiki/bin/view/Main/AttributeValueProviders
works properly.

But what I'm trying to implement is list box menu which is array.

As far as I know, RTC supports only primitive type.

Any idea to implement this kind of thing?

0 votes


Permanent link
Hello Patrick,

I'm trying to implement in 3.0 a WI field which dynamically gets updated depending on the values of two Enumerations. According to new support for this kind of customization in new version, is there any new way of implementing such scenario?

Thanks in advance for your help.

Regards,

Jorge.

0 votes


Permanent link
Jorge,

Look at the information in the links above, but what I think you are looking for is implemented in RTC 3.0. You can learn about it here, with this post on Calculate Attribute providers: https://jazz.net/wiki/bin/view/Main/CalculatedAttributePresentation

The example in here seems to do exactly what you are talking about.

0 votes


Permanent link
Hello Dan,

yes, this is really what I was looking for, but my question is, if this is still the procedure to implement this use case in RTC 3.0?, or there are enhancenments or more accurate ways since the article is based in 2.0.0.2

Thanks in advance for your help.

Regards,

Jorge.

0 votes


Permanent link
yes, this is really what I was looking for, but my question is, if
this is still the procedure to implement this use case in RTC 3.0?,
or there are enhancenments or more accurate ways since the article is
based in 2.0.0.2

You don't need to write Java code anymore.

https://jazz.net/wiki/bin/view/Main/CalculatedAttributePresentation

has been obsoleted by:

https://jazz.net/wiki/bin/view/Main/AttributeValueProviders

You can write a script that does the calculation. If it is really about
the Risk attribute: In 3.0 we have the 'Formal' project template that
has the Risk configuration out-of-the-box.

--
Regards,
Patrick
RTC Work Item Component Lead

0 votes


Permanent link
Is there a simple way to replicate the risk work-item from the Formal Project Management Process as part of a scrum based process template (in RTC V3) ? It looks very complicated here : https://jazz.net/wiki/bin/view/Main/AttributeValueProviders. I am happy to create the work-item but the calculated fields and Java script look very complex.

0 votes

Your answer

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

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,952

Question asked: Nov 11 '10, 1:39 a.m.

Question was seen: 6,406 times

Last updated: Nov 11 '10, 1:39 a.m.

Confirmation Cancel Confirm