When creating tickets using the ticketing schemes of the Jira client, you may run into mandatory fields which must have values to proceed with the ticket creation. This section addresses how you can address these fields to proceed with creating your tickets despite the mandatory fields.
These only apply to mandatory fields of type label and select lists.
The way to address this is by creating a custom field and providing a value to the mandatory fields in the different ticketing scheme templates.
Open any ticketing scheme template.
Create a new field with the name of the required mandatory field.
For example,
"Component":{
"value": "test",
"customFieldId": "customfield_10036"
}
Where "component" is the name of the mandatory field.
"test" is the value that is applied to all the tickets created by the Jira client.
"customfield_10036" is the ID of the custom field.
After providing this inside the template, copy the entire code to a JSON formatter to ensure the code remains valid.
Now, the tickets are created with the mandatory component field set to "test".