![]() Must use annotation to pick up Test Management for JIRA numberOfTests = 0ĭef issueLinkPublicService = ComponentAccessor. Import .publicservice.IssueLinkPublicService Once done, the below code creates a new test case with the issue’s details every time the issue is transitioned with the post function’s corresponding workflow transition. TestCasePublicService.createTestCase(newTestCase) Teams that have standardized on the Atlassian Cloud solution can now create, plan, and execute tests right inside of their JIRA instance. Type: _BY_STEP.toString(),ĭescription: "This is the first test step",ĮxpectedResult: "First test step expected result"ĭescription: "This is the second test step",ĮxpectedResult: "Second test step expected result" Zephyr for JIRA Cloud delivers your favorite test management add-on for JIRA in the cloud. Must use annotation to pick up Test Management for JIRA testCasePublicService = ComponentAccessor.getOSGiComponentInstanceOfType(TestCasePublicService) Search Zephyr Jira Add-on in Atlassian Marketplace: With administrator login, click on the ‘Add-ons’ link. Add license key (if any) or continue with the trial version. Import .publicservice.TestCasePublicService Zephyr for Jira will now be uploaded and installed. Select the Custom Script Condition option.Įither select a Script File that contains the code shown below, or paste the following into the Inline Script field: Script that Fails if the Issue has any Outstanding Non-passing Tests ![]() Use the hasAllLastTestResults("Pass") JQL function provided by Zephyr Scale to write a JQL Query for the condition.Įnter a Preview Issue Key to check the JQL function on before saving.įor further details on additional JQL functions provided by Zephyr Scale and how to use them, please see the Advanced Search with JQL Functions documentation. If you install the plug-in into JIRA then you have to pay for a license for every JIRA user which is insane when only a small part of JIRA users at most companies get use out of this too. Biggest con is that you can't do individual licenses for Zephyr Scale making the product very expensive. Optionally, add a Note to identify the condition. Test Cycles can be wonky when testing from JIRA. Select the Allows Transition if this Query Matches a JQL Query option. Navigate to the required transition and add a new ScriptRunner condition. JQL Query that Fails if the Issue has any Outstanding Non-passing Tests See Navigating to Workflow Functions page for details on how to get access ScriptRunner workflow functions.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |