src/main/java/com/openbank/util/JiraXrayApi.java
private static void updateTestRunStatus(String runId, String status) {
        client().put(expand("${jira.url.xrayApi}/testrun/" + runId + "/status?status=executing"));
        client().put(expand("${jira.url.xrayApi}/testrun/" + runId + "/status?status=" + status)).then().log()
                .ifError();
    }
/**
     * update the run status
     *
     * @param runId  test run id
     * @param status test status
     */
update the run status
@param runId  test run id
@param status test status
update the run status @param runId test run id @param status test status
private static void updateTestRunStatus(String runId, String status) {
        client().put(expand("${jira.url.xrayApi}/testrun/" + runId + "/status?status=executing"));
        client().put(expand("${jira.url.xrayApi}/testrun/" + runId + "/status?status=" + status)).then().log()
                .ifError();
    }
private static void updateTestRunStatus ( String runId , String status ) { client ( ) . put ( expand ( "${jira.url.xrayApi}/testrun/" + runId + "/status?status=executing" ) ) ; client ( ) . put ( expand ( "${jira.url.xrayApi}/testrun/" + runId + "/status?status=" + status ) ) . then ( ) . log ( ) . ifError ( ) ; }
update the run status
 @param runId  test run id
 @param status test status
update the run status @param runId test run id @param status test status