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

Attribute reading the value of another attribute (type=duration)

Hi,

From dojo java script that is attached to an attribute is it possible to read the value of another custom attribute of type duration?

If yes i would appreciate how can i do this.

0 votes


Accepted answer

Permanent link
 I would suggest to make yourself familiar with lab 5 of https://jazz.net/library/article/1093
alex ioan selected this answer as the correct answer

0 votes

Comments

And yes, in a script based attribute customization you can access all attributes of the work item. 

Hi Ralph,

Thank you for your tips.
I've checked the RTC API documentation for this topic and it is stated there that from javascripts only attributes of type string, timestmap are accessible

Here is the URL where i found this piece of information:
https://jazz.net/wiki/bin/view/Main/AttributeCustomization#API_for_Javascript

I'm looking forward to get you opinion on this.

Thank you.
Bye

Alex,

my opinion/current knowledge on that is written down in Lab 5 of said workshop https://jazz.net/library/article/1093 and executed in the Attribute Spy script which shows what data you get how and how to display it. In addition the above wiki entry explains how to convert timestamps and date attributes. So I would expect it to be working. You should really go through both sources of information thoroughly to avoid having to wait for answers in the forum.


One other answer

Permanent link
Hi Alex,

It seems like it should be possible.  This post shows how to get the value of a custom attribute: https://jazz.net/forum/questions/122588/javascript-condition-based-on-value-of-custom-attribute.

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,937

Question asked: Aug 23 '13, 4:01 a.m.

Question was seen: 4,921 times

Last updated: Aug 23 '13, 10:21 a.m.

Related questions
Confirmation Cancel Confirm