Not able to create defect in JIRA from Zephyr
Problem
When trying to create a defect with the existing fields(we don’t have priority field in jira create screen), getting error “You don’t have permission to set below fields [priority]”.
Reason
JIRA assigns a default priority to an issue that is crated even if the same is not added to the create issue screen. You can see that the priority field is auto populated once the issue is created.
Fix
Please run the below query against your MySQL database to make required fields non mandatory as per your requirement.
SELECT id, entity_name, mandatory FROM field_config WHERE field_name = 'priority' UPDATE field_config SET mandatory = b'0' WHERE id = 266
What it did is to make the priority field non mandatory in Zephyr side, now you can file defect in Zephyr with leaving the priority field with value as “priority” itself. It will create bug in JIRA and take the default priority value whatever is there in JIRA.