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

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.


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


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]

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

713 views 6 13
Read article

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