Forum Discussion

  • Hello, this is Greg from CodeCollaborator Support.



    As of now there is not a way to get the full url of a review from the command line, however since CC web URLs are static if you have the review ID you can easily get the URL.   Our URL format (as you noted) is as follows:



    http://<CC_DOMAIN_NAME>/go?page=ReviewDisplay&reviewid=<REVIEW_ID>



    So nothing changes except the id. An easy way to get the full thing without typing it is to make a very simple script that takes the review id, throws it at the end of the url string, and outputs it back to the command line.



    Regards,

    Greg W.
  • Sen's avatar
    Sen
    Occasional Contributor

    Hi Greg,


    Thanks for the reply,


    Also can u please suggest if there is any command to get the <SERVER_URL_HERE> (server URL) using command line.. Because I could find only commands to set the configuration, but not commands to read the configuration.


    Since we are using a script with the CC commands we need to read the Server URL and generate the review URL.

     Regret for the inconvenience since i missed your mail somehow.


    Regards,


    Sen

  • srikanth_cg's avatar
    srikanth_cg
    Occasional Contributor
    If you are writing a script in an unix/cygwin, you could use



    ccollab set | grep ^url | cut -d " " -f 3