Jira Integration: addCustomFieldValue by field ID
Posted: Fri Mar 15, 2019 3:09 pm
We've run into a situation where the name of a required Jira field is not unique on the Jira server. The addCustomFields method of the the Automation Helper's JiraReporter class uses the issue.CustomFields.Add method of the Atlassian.Jira library. This method appears to grab the first field matching the name of the desired custom field. Unfortunately for us, that field is not available on our form and throws an error when attempting to update the issue.
I was looking for a way to extend, override, or overload the method, but my C# skills aren't as sharp (pun may or may not be intentional) as my VB skills. I don't see a way to expose the CustomFieldValueCollection AddById method without altering the Automation Helper's code. If anyone has a suggestion, I'd certainly appreciate it.
As for getting something official in the Automation Helper's code base, should I raise a feature request on the Git Hub project or is that more of a uservoice request?
I was looking for a way to extend, override, or overload the method, but my C# skills aren't as sharp (pun may or may not be intentional) as my VB skills. I don't see a way to expose the CustomFieldValueCollection AddById method without altering the Automation Helper's code. If anyone has a suggestion, I'd certainly appreciate it.
As for getting something official in the Automation Helper's code base, should I raise a feature request on the Git Hub project or is that more of a uservoice request?