How to Submit a Bug to Jira with Required Custom Field

Currently Test Studio does not support specifying custom fields through the UI when submitting a bug to Jira. Thus you will get the following error when try to submit the bug directly:

Jira Error

In order to denote your required fields and what to fill them with, create a file called JiraMappings.xml in the following directory:

C:\Program Files (x86)\Telerik\Test Studio\Bin\Plugins

Plugins Folder

Open it with a text editor, like Notepad, and insert the following content:

<?xml version="1.0" encoding="utf-8"?>
<JiraMappings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Fields>
    <string>"customfield_10001":"test"</string>
  </Fields>
</JiraMappings>

In JIRA, customfields are referenced by "customfield_" + the id of the custom field. Refer to the string tag in the xml

When configuring the default values for your custom fields in the xml file, you should have in mind the type of the field and use the correct syntax. 

Here are some examples of how to set different types of custom fields.