š Comprehensive Guide
Welcome to the official documentation forĀ Appium Test Results for Jira. This guide will walk you through setting up the integration, embedding it into your CI/CD pipelines, and troubleshooting common issues.
š Prerequisites
Before you begin, ensure you have:
- Jira Cloud:Ā Administrator or Site Admin permissions to install apps from the Atlassian Marketplace.
- WebdriverIO Project:Ā A working mobile automation project using WebdriverIO (v7 or v8+).
- Node.js:Ā Installed in your local/CI environment.
š Part 1: Initial Setup
Step 1: Generate Your Secure Webhook
- InstallĀ Appium Test Results for JiraĀ from the Atlassian Marketplace.
- Inside your Jira instance, navigate to the top navigation bar and clickĀ AppsĀ ->Ā Appium to Jira Config.
- You will see a dedicated configuration page. Copy the automatically generatedĀ Webhook URLĀ andĀ Security Token.Ā (Note: Keep this token secure. Do not commit it directly to public repositories).
Step 2: Add the Custom Reporter to Your Project
Our integration uses a native WebdriverIO custom reporter to listen to your test execution without slowing it down.
- In your mobile testing repository, install the standard WebdriverIO spec-reporter (required for terminal output):
npm install @wdio/spec-reporter --save-dev
- Create a new file in the root directory of your project (where yourĀ
package.jsonĀ is located) and name itĀ wdio-jira-reporter.js.
- Paste the JavaScript reporter code provided on your Jira Configuration page into this file.
Step 3: UpdateĀ wdio.conf.js