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?