Update custom field in Zephyr Test Case - jira

I have a few thousand test cases in the Zephyr Jira plugin. Now I have created some custom fields for the test cases via Zephyr and would like to change the content there.
Unfortunately I can't understand the API description of SmartBear. Does anyone know what the exact call is to change the content of a Zephyr custom field?

Related

how can i email junit test result from jenkins in tabular form?

I am unable to email junit test result from jenkins. I want to send it in a tabular form. currently i send it but the design is not good in email.
I have already tried multiple techniques but the report is not as good as I want. like junit2html etc.
i am using free style jenkins project.
can any one please tell me how can i send the "Test result" table from jenkins to my personal email.
below is code in my custom python builder
py.test --junitxml report.xml

Automated Test Results - JUnit -> How to do ordinary grouping/formatting?

I am new around here, I have done a lot of googling, searching on this site and asking around and have not found a satisfactory answer.
I develop automated tests, UI as well as API. These are then run by TFS and the results are put into a JUnit xml document, which is then read by TFS. But alas the formatting is atrocious and leaves one unable to use the output for anything.
Vis:
There is no information about the Test Suite (which is there in the XML), the actual request sent (which is in the log) or response received and so one is left with absolutely no context to understand what has actually taken place (which request was sent, what test group/suite it belongs to and what any potential error was).
As far as I have been able to uncover, TFS simply has little to no support of proper test result formatting when it comes to automated testing. I am very surprised by this in 2018. Not even any documentation that allows me to develop my report structure/format in some kind of script.
What alternatives do I have? Can I automatically attach a generated HTML report somehow in TFS? Can I output more info anywhere?
You can group by Test Suite, Owner, Priority etc...
And you can double click the specific test result and navigate to the test run Summary to see more information there, also you can attach files there.
More information please see Review continuous test results after a build

jira bulk update custom field value

I need to update all the values of a custom field in Jira. I noticed the "Bulk Fix Resolutions" script which is kind of what I want, but not for resolutions, for custom field value. Any thoughts on what I need to do?
A groovy script run in the ScriptRunner console. Carefully tested in staging beforehand. Or an external script such as jira-python
Thanks I found the answer here, it can be done with existing UI:
Using the bulk change wizard - The bulk change wizard will progress you through your bulk change. To step back at any step of the operation, select the relevant step in the menu on the left-hand side. Selecting Cancel will cancel the entire process.
https://confluence.atlassian.com/jiracoreserver074/editing-multiple-issues-at-the-same-time-921047221.html?_ga=2.18023408.858755321.1517851422-336306238.1516208522

Query to get all test cases in a static test suite?

I am using VSTS to maintain our test cases.
I have created a test suite named Login Tests inside test plan foundation, which contains all the scenarios for login validation.
I want to add all existing test cases which are in Login Tests to my new test plan. Currently, I am manually copying and pasting the IDs in the search query,but is there any way where I can get all the test cases inside a suite.
No, there is no way to do as you describe.
However there is an easy workflow change that will allow you to do this. You have some manual work to get there, but once there things will be better. You should go through all of your Test Cases in the manual Suite and tag them with "tests-login".
Once done you can easily create Query Based suites anywhere with the correct list and control the list using the Tag.
Right Click the suit in the VSTS Test manager folder and Export to email you can select multiple suit and past in excel from email

I want to get parent issue's custom field data to be inherited to subtask custom field

I want to get parent issue's custom field data to be inherited to subtask custom field without using third party plugins.
Is there any way to do this by Groovy script or any plugin code
How are you going to run your groovy script if you're not going to use a third-party add-on? Typically Script Runner is used to do this because it allows you to easily script fields, postfunctions and/or listeners.
If you want to implement your own add-on, assuming you run a standalone JIRA and not a cloud JIRA, you can start here.
You then have different options to implement what you need. For JIRA Server you could:
Use a listener
Use a postfunction
Use a custom field. For tutorials look here and here.

Resources