Open felickz opened 1 year ago
Could you elaborate how you would want to use this?
Our primary approach to configuring the actions is through environment variables. One way would be to add something like a JIRA_CUSTOM_FIELDS
variable which could contain a formatted string with key/value pairs for custom fields. The values would be static though.
As far as I can tell the underlying JIRA library that we use also supports custom fields.
customfields themselves are just an additional key/value pair passed to the fields object: https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/#creating-an-issue-using-custom-fields
Ideally the custom field would be an arbitrary map the user passes into the github action. (inspiration for this from here)
Currently a failure will look like: