How to Disable versions and components in Zephyr
Problem
When I create a defect inside Zephyr, I am prompted to enter in values for components and versions in JIRA. But I am not using components of versions in JIRA. Can I disable these?
Cause
Field values are coded to be mandatory however, you can disable them from the back end.
Fix
We have two fixes based on if you are using Windows of Linux. If you are a SaaS user please reach out to support, they will need to make the changes for you.
Windows:
Here are the instructions for making component and version to “Not Mandatory” in your Zephyr/JIRA integration in Windows
1. Make a backup of your database.
As administrator, open a command line prompt and navigate to <Zephyr Root>\backup_restore\bin
Type:
backupall.bat
Following the on screen instructions. Keep the backup in a safe place until after you have confirmed the field change is successful.
2. Stop the Zephyr Server:
and go to %ZEPHYR_INSTALL_DIR%\mysql\
Type:
net stop zephyrserver
Wait for the server to stop.
3 Connect to the MySQL database:
In the same command line window, run the following command:
bin\mysql -uroot -proot itcc
Once connected to the mysql database, adjust the field:
Type:
Update field_config set mandatory = NULL where id = 270;
Update field_config set mandatory = NULL where id = 271;
commit;
quit;
4. Restart the Zephyr server:
Type:
net start zephyrserver
Return into Zephyr and file a defect without a component and/or version to confirm the change was successful
Linux:
Here are the instructions for making component and version to “Not Mandatory” in your Zephyr/JIRA integration in Linux:
1. Make a backup of your database.
As administrator, open a command line prompt and navigate to <Zephyr Root>\backup_restore\bin
Type:
backupAll.sh
Following the on screen instructions. Keep the backup in a safe place until after you have confirmed the field change is successful.
2. Stop the Zephyr Server:
and go to %ZEPHYR_INSTALL_DIR%/apache-tomcat-5.5.28/bin
Type:
./catalina.sh stop
Wait for the server to stop.
3 Connect to the MySQL database:
In the same command line window, run the following command:
mysql -uroot -proot itcc
Once connected to the mysql database, adjust the field:
Type:
update field_config set mandatory = NULL where id = 270;
update field_config set mandatory = NULL where id = 271;
commit;
quit;
4. Restart the Zephyr server:
go to %ZEPHYR_INSTALL_DIR%/apache-tomcat-5.5.28/bin
Type:
./catalina.sh start
Return into Zephyr and file a defect without a component to confirm the change was successful.
-—————————————————————————————————————–-––––––––––––––––––––––––––––––––––
Title: How to disable versions and components in Zephyr
Product: Enterprise Edition, Community Edition
Version: 4.1, 4.5, 4.6
Summary: When I create a defect inside Zephyr, I am prompted to enter in values for components and versions in JIRA. But I am not using components of versions in JIRA. Can I disable these?
-—————————————————————————————————————————————————————————————–