I have a problem with one of our SIL script custom fields.
I'm trying to get the history of one of the custom fields. fieldHistory routine returns dates properly, but in place of changes it returns only empty values.
The code:
string[] myfield_history; //12607 string complete_list; string m_breakline_key = "JIRA-274"; string m_breakline = substring (%m_breakline_key%.description, 1, 3); myfield_history = fieldHistory(key, "Opis rozwiązania"); for (number i=0 ; i < size(myfield_history); i = i + 1) { complete_list = complete_list +">"+ myfield_history[i] +"<" + m_breakline; } return complete_list;
What we get:
SIL - Historia serwisowa: >2014-02-12 17:27:09< >< >2014-02-12 17:28:58< >< >2014-02-12 17:45:13< >< >2014-02-12 18:06:39< ><
Any ideas what might be wrong?
Hi Blazej,
I have tested and confirmed the problem.
I have opened an issue on: http://bugs.kepler-rominfo.com/browse/IMJ-113.
I will attach a snapshot there for katl-commons containing the fix.
Thanks for pointing it out.
I have resolved the issue and attached the snapshot jars containing the fix there.
Please update to katl-commons 2.5.16-SNAPSHOT and let me know if everything is ok.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This works like a charm!
That was an insanely quick bug fix :D Thanks for the awesome help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexandru,
I'm trying to access field change values using lastFieldHistory() routine and having the same problem. It returns the user, date and Field name that is changed but empty values in place of changes. Using the below versions
Thanks,
Aishwarya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
We're using:
Opis rozwiązania
Free Text Field (unlimited text)
Issue type(s):
Global (all issues)
[Default Text Renderer]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you tell us the JIRA version and the type of the "Opis rozwiązania" custom field?
Thanks,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.