ctco / zephyr-sync

Tool to synchronize test results to Zephyr (test management add-on for JIRA)
21 stars 28 forks source link

java.net.URISyntaxException when it tries to found test cycle #8

Open towfurious opened 7 years ago

towfurious commented 7 years ago

For example --testCycle=bamboo Cycle, it will successfully create cycle with space between words, and when in will search for this cycle to put execution to it, in fails with message "Caused by: java.net.URISyntaxException: Illegal character in query at index 141: http://127.0.0.1/rest/zapi/latest/zql/executeSearch?zqlQuery=project='VISTJETFUTURE'%20and%20fixVersion='2.5.11'%20and%20cycleName='AT1: MIS+MWA Data Comparison'&offset=0 08-May-2017 19:45:06 at java.net.URI$Parser.fail(URI.java:2848) 08-May-2017 19:45:06 at java.net.URI$Parser.checkChars(URI.java:3021) 08-May-2017 19:45:06 at java.net.URI$Parser.parseHierarchical(URI.java:3111) 08-May-2017 19:45:06 at java.net.URI$Parser.parse(URI.java:3053) 08-May-2017 19:45:06 at java.net.URI.(URI.java:588) 08-May-2017 19:45:06 at java.net.URI.create(URI.java:850) 08-May-2017 19:45:06 ... 8 more 08-May-2017 19:45:07 :zephyrSync FAILED"