Topic
  • 3 replies
  • Latest Post - ‏2013-11-06T15:51:12Z by GlennSkinner
bonjo
bonjo
2 Posts

Pinned topic Replicating CQ CR's to other systems

‏2013-10-26T07:40:31Z |

Hello everyone,

Im thinking of doing some kind of bridge to JIRA for managing tasks.

What I basically want to do is querying CQ for crs under some condition (owner, submitter etc') and replicate it  to JIRA system.

I want to be able to fetch CR's state, submitter, description, related product and most importantly - save attachments.

Where the api is the most convenient for doing so?

my best candidates for the tasks are C# and Python, two leads which i know good enough.

 

  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: Replicating CQ CR's to other systems

    ‏2013-10-26T13:15:41Z  

    Hello,

    One option would be to use ClearQuest API. It is available for Perl and Java on all platforms, and VB/VBScript on Windows (technically, it is implemented as a COM library).
    http://pic.dhe.ibm.com/infocenter/cqhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.rational.clearquest.apiref.doc%2Ftopics%2Fc_using_cq_api.htm

    Another option would be to use REST API.
    https://jazz.net/wiki/bin/view/Main/RcmRestCmApi

    Pavel

  • bonjo
    bonjo
    2 Posts

    Re: Replicating CQ CR's to other systems

    ‏2013-10-26T17:54:03Z  

    Hello,

    One option would be to use ClearQuest API. It is available for Perl and Java on all platforms, and VB/VBScript on Windows (technically, it is implemented as a COM library).
    http://pic.dhe.ibm.com/infocenter/cqhelp/v8r0m0/index.jsp?topic=%2Fcom.ibm.rational.clearquest.apiref.doc%2Ftopics%2Fc_using_cq_api.htm

    Another option would be to use REST API.
    https://jazz.net/wiki/bin/view/Main/RcmRestCmApi

    Pavel

    Well, It seems that any of the ways will get the job done.

    however, (as you can tell easily) im not too familiar in the field of CQ API developing.

    Which direction would you advice for one who doing so in java / c# / python isnt much of a difference, in order to accomplish what i seek?

    Which api is widely used more than others, so I can find examples / tutorials on it as well?

     

  • GlennSkinner
    GlennSkinner
    58 Posts

    Re: Replicating CQ CR's to other systems

    ‏2013-11-06T15:51:12Z  
    • bonjo
    • ‏2013-10-26T17:54:03Z

    Well, It seems that any of the ways will get the job done.

    however, (as you can tell easily) im not too familiar in the field of CQ API developing.

    Which direction would you advice for one who doing so in java / c# / python isnt much of a difference, in order to accomplish what i seek?

    Which api is widely used more than others, so I can find examples / tutorials on it as well?

     

    From my experience, perl is the most widely used language to access API.

    More and more integrations are moving to the OSLC rest API. However, it has quite a learning curve. If you are interested in OSLC, I posted a sample perl script that uses session management on Clearquest Corner https://www.facebook.com/GSCQ2 Look for the October 8th post.