my $url2 = 'https://url.com:123/rest/api/2/issue';
my $create_issue_json = '{"fields": { "project": { "key": "NCG3D" }, "summary": "summary of my first issue", "versions": [{"Affects Versions/s": "v2.1"}, {"name": "v2.1"}], "Brands": ["Opel"], "components": "SW_VERSION", "description": "Creating an issue via REST API", "issuetype": { "name": "Minutes" }}}';
$tx1 = $jira_ua->post($url2 => json => decode_json($create_issue_json));
my $res1 = $tx1->res->body;
The above produces the following output
{"errorMessages":["Brands: Brands is required.","Detection: Detection is required."],"errors":{"components":"Component/s is required."}}But these fields are available only in issue of type bug and not for type Minutes.