It's all about the answers!

Ask a question

Access the Javascript API

Rotem G (1123) | asked Jun 28 '11, 12:21 p.m.
How can I access the API for Javascript ?

I want to try implement some attribute customization via the use of Javascript (as in the AttributeCustomization atrical on the wiki).
How can I access the API to know what can I use ?
I am new to the Javascript world.

Thank you.

Accepted answer

permanent link
Filip Wieladek (30413) | answered Nov 27 '12, 3:07 a.m.
 Please look at the following Wiki entry:

It provides all the details on Attribute Customization including script based attribute customization.
Ralph Schoon selected this answer as the correct answer

Dastan Ali commented Mar 30 '17, 5:43 a.m. | edited Mar 30 '17, 6:02 a.m.

I think what Rotem wants to know is :

Are there any libraries of java scripts for RTC and documentation to understand how to use functions of java script.
Rotem please post if you got the answer for your question.

For example
I want to fetch current week number and save value on the work item using script based calculated value, but I don't know what functions I need to use to get current week number using java script.

Ralph Schoon commented Mar 30 '17, 6:06 a.m.

For what RTC supports read that wiki page, please. Note that that is all that is documented. Note the "limited type support". 

If you want to understand JavaScript in general and how to - for example - get the date and how to work with it, find yourself a JavaScript tutorial such as and learn there. We don#t document that stuff here.

Also be a ware of the limitations of the RTC JavaScript API as explained in and in

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.