SIL - fieldHistory routine returning only dates and empty values

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?

4 answers

1 accepted

This widget could not be displayed.

Hi Blazej,

I have tested and confirmed the problem.

I have opened an issue on:

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.

This works like a charm!

That was an insanely quick bug fix :D Thanks for the awesome help.

This widget could not be displayed.


Can you tell us the JIRA version and the type of the "Opis rozwiązania" custom field?


This widget could not be displayed.

We're using:

  • Jira - 5.2.5
  • katl-commons - 2.5.14
  • Kepler Custom Fields - 2.1.11

Opis rozwiązania
Free Text Field (unlimited text)
Issue type(s):
Global (all issues)
[Default Text Renderer]

This widget could not be displayed.

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

  • Jira - 7.0
  • katl-commons - 3.1.1



Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

229 views 3 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you