Subject: | update_issue doesn't call _convert_to_customfields |
Date: | Wed, 1 Aug 2018 12:31:13 +0000 |
To: | "bug-JIRA-Client-Automated [...] rt.cpan.org" <bug-JIRA-Client-Automated [...] rt.cpan.org> |
From: | "Montminy, Mark [USA]" <Mark.Montminy [...] mrcy.com> |
I don't know if this was intentional, or an oversight, but I've just started
playing with this module to automate a process, and was having trouble
updating issues.
The documentation wasn't clear on how to handle custom fields, if they
should use the English name or field name, but it suggests using
get_issue(), so I went with English names, only to find updates failing.
Looking through the code it appears that $self->_convert_to_customfields is
called on a create, but not on an update_issue, which seems inconsistent.
I've worked around it by calling the convert_to_customfields method directly
in my script to update my hash prior to the update.
Thanks for the module, it's saved me a bunch of time.
Mark Montminy
Principle Applications Engineer, IT Services
50 Minuteman Road
Andover MA, 01810
Office: +1 978 967 1882
Mobile: +1 978 408 3699
<mailto:mark.montminy@mrcy.com> mark.montminy@mrcy.com | mrcy.com |
Innovation That Matters
<https://www.glassdoor.com/Overview/Working-at-Mercury-Systems-EI_IE4049.11,
26.htm> <http://www.facebook.com/MercuryComputerSystems>
<https://twitter.com/MRCY?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eau
Show quoted text
<https://www.mrcy.com/careers/overview/>
<https://www.mrcy.com/careers/overview/>
Message body not shown because it is not plain text.