It's all about the answers!

Ask a question

Javascript for RTC?


Ratan M (111) | asked Jan 20 '14, 4:09 a.m.
 Hi,

We are planning to move from ClearCase to RTC. We used to use Perl extensively for customize ClearCase (with cleartool interface offered by ClearCase). With RTC, is Javascript the language? Any response is appreciated!

Thanks! 

4 answers



permanent link
Dinesh Kumar B (4.1k413) | answered Jan 20 '14, 8:28 a.m.
JAZZ DEVELOPER
Hi Ratan,

there are several customization areas and each of which can have different ways of going around.  So the more specific you are, the more easier to help you with the right answer.

At the Work Item Attribute level, there is definitely JavaScript based customizations that you can use, below link might help you :
     https://jazz.net/wiki/bin/view/Main/AttributeCustomization

For what is not achievable here can still be achieved leveraging one or more of :
REST APIs :
    Resource Oriented Work Item API with OSLC_CM 1.0
        https://jazz.net/wiki/bin/view/Main/ResourceOrientedWorkItemAPIv2
    Work Items Service provider for OSLC 2.0 CMSpecification:
        https://jazz.net/wiki/bin/view/Main/WorkItemAPIsForOSLCCM20

Plain Java APIs :
RTC SDK :
    https://jazz.net/library/article/495
    https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation

hope it helps

Comments
Ratan M commented Jan 22 '14, 1:43 a.m.

 Can I do something like this in RTC?


If the Work Item summary field is less than 50 chars then the WI submission needs to be blocked?

Thanks! 


permanent link
Takehiko Amano (1.3k3741) | answered Jan 20 '14, 4:16 a.m.
JAZZ DEVELOPER
In case of RTC SCM, you can still use Perl to wrap around command line interface. "cleartool" will be replaced to "scm" command in stead.


permanent link
Aradhya K (1.4k54345) | answered Jan 20 '14, 4:24 a.m.
JAZZ DEVELOPER
RTC also has the Command Line Client through which you can access the Source related artifacts.
https://jazz.net/library/article/1031 has examples on how you can use perl scripts to do some automation.

permanent link
Ratan M (111) | answered Jan 20 '14, 4:41 a.m.
 Thanks! Work Item customization like in ClearQuest? how?



Comments
Takehiko Amano commented Jan 20 '14, 9:24 a.m.
JAZZ DEVELOPER

Hi Ratan,

Refer to this article as your first step.
 https://jazz.net/library/article/565




Ratan M commented Jan 20 '14, 8:31 p.m.

Can I do something like this in RTC?


If the Work Item summary field is less than 50 chars then the WI submission needs to be blocked?

Thanks! 

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.