django-DefectDojo icon indicating copy to clipboard operation
django-DefectDojo copied to clipboard

Add support for specifying custom JIRA fields

Open coheigea opened this issue 2 years ago • 2 comments

Several of our JIRA projects have required fields, which means that it's not possible to push DefectDojo issues automatically to JIRA. This adds the ability to set a custom JIRA field per product/engagement. The value is a JSON dictionary, which can map field names to values.

For example, some JIRA projects we use have a "Required in Release" JIRA field that takes an array, and the corresponding value is { "customfield_12345": [{"name":"7.1.1"}] }

coheigea avatar Aug 19 '22 08:08 coheigea

@coheigea have you seen the JSONfield in Django 3.2 yet? It works and behaves just like a python dict

Maffooch avatar Aug 23 '22 14:08 Maffooch

Thanks @Maffooch , that's a much better idea, PR updated - please review.

coheigea avatar Aug 29 '22 14:08 coheigea

@Maffooch Any updates please?

coheigea avatar Sep 23 '22 16:09 coheigea