ALEX for Jira is an add-on for Jira Server, written in Java, that allows the execution of Zephyr tests in the test automation tool ALEX. For this to work, it requires a running installation of the ALEX for Jira adapter and ALEX. This add-on serves two purposes:
- It embeds a button to the operations bar of a Zephyr test. The button enables users to execute the test in ALEX, under the assumption that a mapping between the test and ALEX has been defined in the adapter.
- It listens on issue and project related events in Jira and sends them to the adapter in order for the tests to stay in sync.
- Java JDK 8
- Git
- Atlassian SDK
For the installation of the Atlassian SDK, follow the instructions provided on the website.
After the installation the command atlas-mvn
should be available in the terminal.
The add-on has been developed with, but is not necessarily limited to the following software versions:
- Windows 10
- Java JRE 8
- Jira Server v7.9.2 with:
- Zephyr for Jira v3.6.4 add-on
- ZAPI v2.6.0 add-on
- ALEX v1.6.0
- ALEX Adapter v1.0.0
Note that if ALEX and Jira are installed on different machines in the same network, make sure they can reach each other.
# 1. Clone the repository
git clone ...
# 2. Navigate to the project directory
cd alex-zephyr-jira-plugin
# 3. Build the plugin
atlas-mvn clean package
The generated add-on is then be located in the target
directory.
The file is called alex-for-jira-1.0.0.jar
.
- Build the add-on according to the description above.
- Open Jira and login with an admin account and navigate to the add-ons page.
- In the left sidebar, click on "Manage add-ons".
- Click on the button "Upload add-on" and upload the jar file generated from the build step.
- After the successful installation, refresh the page. Now, a section ALEX FOR JIRA with one item should appear in the left sidebar.
Before setting up the add-on, ensure that there is a running installation of ALEX and the adapter and that all servers can reach each other. In the following, we assume that the adapter is installed locally at http://localhost:9000.
- Install the add-on.
- In the left sidebar on the add-ons page, click on the item "General Configuration" under the "ALEX FOR JIRA" section.
- In the displayed form
- Enter the base URL of the ALEX adapter, without trailing "/". E.g. http://localhost:9000 and not http://localhost:9000/.
- Enter the email and password of an admin account in the ALEX adapter.
- Select the correct issue type for tests that is registered by the Zephyr add-on from the dropdown menu. Normally, this is the type "Test".
- Enter the key of the project that the add-on should be activated for.
- Click on save.
Now, on every issue that is a Zephyr test, a dropdown menu with the label "ALEX" should be visible in the operations bar.