I am trying to add maven dependency for "zfj-cloud-rest-client-1.2 jar" for my POC using Zephyr with Jira cloud.
Can you please help with the same.
Welcome to the community @[deleted]
If you are developing for Jira cloud, I'm not sure where do you want to add this dependency.
Now, if you using Java for cloud plugin development you can
I hope this helps.
This doesn't work for me. It throws run time errors like: java.lang.NoClassDefFoundError: com/atlassian/fugue/Option
My end-objective is to update Zephyr on a real time basis as every test case passes or fails. I am using openjdk11, TestNg and maven. Is there a documentation that provides step by step on achieving this.
Also I tried following this example: https://github.com/zephyrdeveloper/zapi-cloud/blob/master/Samples/src/com/thed/zapi/cloud/sample/CreateCycleAndAddTests.java but I get run time errors.
Is there any maven dependency that I directly use which further provides wrapper for calling zephyr apis?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am experiencing this same thing. This 3.0 jar appears to be missing the necessary dependencies, or rather it's pom file doesn't correctly define it's dependencies. NoCkassDef for fugue and typesafe play dependencies. The jar file the Zephyr squad says to use is zfj-cloud-rest-client-1.2-jar-with-dependencies.zip and it works, but it contains a bunch of extra crap that you don't need and I was hesitant to pull into my project. Why is this so hard?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
For those still struggling with this issue: A possible solution is to use thin jar from here
But as you all experienced it, it has some broken dependencies, mainly because com/atlassian/fugue/Option was moved into io/atlassian/fugue/Option at Maven, so, in order to fix those broken dependencies this is what I did:
I decompressed both Jars (fat, with-dependencies, and thin) and then just took those folders out from fat one and into the thin one. Once I did that, I just re-compressed in Jar with this command
jar cvf zfj-cloud-rest-client-1.2.jar -C zfj-cloud-rest-client-1.2/ .
I'm still struggling with some methods of this API version, in example: I no longer seem to find the POST stepresult to create a brand new stepresult but I'm still investigating how to fix that.
But other than that, by following steps above, I was able to create valid JWT tokens
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.