Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi. I am unable to install zapi app on cloud version of jira

pooja kempegowda August 30, 2020

Hi

 

 

On trying to add ZApi app on cloud version of jira., it is not installing. 

Giving error as attachedScreenshot_2020-08-31-00-00-11-577_com.android.chrome.jpg

2 answers

0 votes
pooja kempegowda September 1, 2020

Hi

 

Able to replicate same issue on Firefox browser too

jpg.jpgdebug.png

These are the URL's that is giving 404 code above

https://musictribe.atlassian.net/rest/plugins/1.0/com.thed.zephyr.zapi-key

https://musictribe.atlassian.net/rest/plugins/1.0/com.thed.zephyr.zapi/marketplace

Manuel Monteverde
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 20, 2020

Im having the same issue where you able to solve it?

Sanjeev Pande
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
November 4, 2020

Hi @Manuel Monteverde and @pooja kempegowda 
As part of the new release of Zephyr for Jira Cloud, the installation of ZAPI plugin is not mandatory. ZAPI is now inbuilt and the rest apis can be called in the same way without installing the ZAPI addon.

Keerthi December 15, 2020

Hi, @Sanjeev Pande I have installed Zephyr for Jira Cloud, last week which should be the latest version. Is ZAPI inbuilt in this one? How could I identify if it's inbuilt in Zephyr, please!

Because when I am trying to add post-build actions in Jenkins for Publish Junit test results reports & Publish test results to Zephyr for Jira and run the Jenkins job, there is an error as below. I am following the steps from the below link. If you are aware of this issue, can you please give some inputs?

https://plugins.jenkins.io/zephyr-for-jira-test-management/#documentation

Recording test results
[ZapiTestResultReporter] [INFO] Examining test results...
Build result is SUCCESS
Total Test Cases : 3ERROR: Build step failed with exception
java.lang.NullPointerException
 at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.executeTestsZFJC(TestCaseUtil.java:1168)
Sanjeev Pande
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 15, 2020

Hi @Keerthi Since August 23, 2020 - Zephyr for Jira Cloud 7.1.0, ZAPI plugin is no longer required to access the API. REST API is now available out-of-the-box.

It will continue to work in the same way you used to make rest api calls earlier with zapi, just that you do not have to install the ZAPI addon.

You can find the detailed documentation here - 

https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/1925120024/REST+API

 

For jenkins and continuous integration, we have also released post build scripts that can be used to publish the result files.

Details can be found here - 

https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/1989148717/Continuous+Integration
https://zephyrdocs.atlassian.net/wiki/spaces/ZFJCLOUD/pages/1996685380/Jenkins+Integration

Keerthi December 16, 2020

@Sanjeev Pande Thank you for your reply. 

I am trying to follow the steps for Jenkins Integration with the shell script. I have Provided all the fields as mentioned in the document. When I try to execute I see the error as below,jira1.pngjira.JPG

{"message":"Please provide jira mandatory field details."}

But it doesn't specify which mandatory field is that. 

I am trying to create an automation task with a test cycle & folder and execute. Then pick the given results.xml file, create the test cases, and updates the result. 

Keerthi December 16, 2020

@Sanjeev Pande I am also trying to post the api through postman, an error is returned as Please provide a correct framework, but I have entered the correct name as I do from the Automation task through Zephyr UI. it would really help for us if you can shed some light on this, please!jira2.JPG

Raghuram Jayaraman
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 8, 2021

Hi Keerthi, I'm stuck with the same error too. Please let know, if you're able able to create a job using API

Cosmin Banciu
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 24, 2021

In reference to the {"message":"Please provide jira mandatory field details."}
error. I had a similar issue and was able to solve it by adding a parameter "mandatoryFields"  to the request. 

The mandatory fields will depend on your jira ticket configuration, but likely it is the  "reporter" field.

Adding mandatory fields is defined in the api reference docs located here
https://support.smartbear.com/zephyr-squad-cloud/docs/test-automation/api.html#create-task

Copied from above link in case it changes. 
"""
If you have mandatory fields in the Jira Create issue screen, you need to pass data for them in the request body. For example, if the Reporter field is mandatory, you need to add the following line to the request body:
mandatoryFields:{"reporter":{"label":"John Smith","name":"John Smith",
"id":"557058:59b29c62-9138-4e8c-86c4-96c6df437d5c"}}

"""

Once i added this field (with relevant info) then the request was successful. 

Hope this helps anyone else stuck on this issue.
Cheers!

0 votes
Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 31, 2020

Hello @pooja kempegowda,

Thank you for reaching out to Atlassian Community!

Testing on my local free site, I was able to install Zapi, so I wonder if it might be a restriction because you are using a mobile.

Can you please try to install the app using a computer instead of using the mobile?

If the same issue appears, please try to use another browser.

Also, check the developer tools and send us a screenshot of any other error that appears.

Regards,
Angélica

pooja kempegowda September 3, 2020

Hi Angelica, any response on the query? 

Angélica Luz
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 3, 2020

Thank you for the details, @pooja kempegowda.

I found similar cases on our support and this issue needs to be fixed on the add-on side. I see on your site that there are other add-ons, so it's not an issue on Jira or Marketplace, since the issue is happening with Zapi only.

Please, reach out to their support on https://support.smartbear.com/zephyr-for-jira/ with the details you provided here. Feel free to share the link to this thread as well.

I found this error on the logs that might help them to identify what is causing the issue:

Caused by: cloud.atlassian.logmon.laas.api.PrivacySafeException: Privacy-safe boxing of a com.atlassian.plugin.connect.plugin.lifecycle.LifecycleCallbackHttpCodeException\n\tat com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonCallbackHandler.callSyncHandler(ConnectAddonCallbackHandler.java:138)\n\tat com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonCallbackHandler.requestInstallCallback(ConnectAddonCallbackHandler.java:146)\n\t... 35 more\n"},"ext":{"amq":{"messageApproximateReceiveCount":"1","messageId":"","messageRunnerKey":"upm-InstallAndSubscribeRemotePluginTask-runner","messageSentTimestamp":"1599026880268","queueName":"amq","sourceRequestId":"","tenantId":"","trace_id":"bc4fe6b7549874ac"},"err":{"cause_location":"com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonCallbackHandler:callSyncHandler","cause_type":"cloud.atlassian.logmon.laas.api.PrivacySafeException","location":"com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonCallbackHandler:requestInstallCallback","type":"cloud.atlassian.logmon.laas.api.PrivacySafeException"},"jira":{"request":{"id":"not_initialized"},"tenant":{"rds_host":"monarch-jira-prod-ap-12-006.cxjlf03gmkxp.ap-southeast-1.rds.amazonaws.com:5432","sitename":"xxxxxxx.atlassian.net"}}},"hostname":"f55b4542bab6","level":"ERROR","logger":"com.atlassian.plugin.connect.plugin.lifecycle.ConnectAddonInstaller.privacy-safe","m":{"sv":"2020-09-01-16-13-53-770542_2020-09-01_44c46f386b","si":"jira-prod-ap-12","di":"oc85qonaoqvv13p1","g":"Amq","t":"application"},"message":"An exception occurred while installing the plugin [com.thed.zephyr.zapi]. Uninstalling...","micros_container":"jira","pid":64,"product":"jira","thread":"sqs-consumer-thread-amq-84","time":"2020-09-02T06:08:06.084994911Z","timestamp":"2020-09-02T06:08:06,84Z"}

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events