Skip to main content
1-Visitor
October 1, 2013
Question

How to open a URL using Trigger?

  • October 1, 2013
  • 2 replies
  • 4166 views

Hi,

Currently I've a requriement, whenever a defect or item is created I need to open one url via trigger. Let me know what is the code to open an URL via trigger?

Thanks & Regards,

shankar

    2 replies

    1-Visitor
    October 1, 2013

    Do you want to open up the Integrity web client to a specific item/object or do you want to open a browser to an external website?

    1-Visitor
    October 3, 2013

    Hi,

    I want to open a external website(JIRA URL)

    1-Visitor
    October 22, 2013

    Hi,

    Anyone know how to open a URL from a remote machine?

    Regards,

    Shankar

    16-Pearl
    February 13, 2014

    Hi Shankar,

    I'm looking for a similar solution in a different use-case.

    I would like to trigger my build server (Jenkins) when checkpoint is created in Integrity (and the project meed some special conditions).

    So basically I need a way to KICK-OFF the "run build URL" on my Jenkins from inside my Integrity java script source trigger.

    Of course the trigger must be non blocking.

    Did you find a solution so far?

    Regards Matthias

    3-Newcomer
    February 13, 2014

    Hi Matthias,

    I can provide a solution for your use case (we have the same use case):

    var eb = bsf.lookupBean("siEnvironmentBean");

    var pb = eb.createProcessBuilderBean();

    pb.setCommand("wget -q --spider --no-check-certificate --http-user=xxx --http-password=yyy https://zzz);

    pb.start();

    Regards, Ingo

    16-Pearl
    March 13, 2014

    Thanx Ingo, you just saved my day