Error in logs when updating a Field value using SIL (Live Field)

Hey Folk,

I am using JJUPIN to do a lot of stuff in our Jira setup. I have some scripts that execute when an Issue is openened (i.e. Viewed) to calculate its value and display. From one of the script that is supposed to sum Work Log for all linked task and update an Interval Field I see following error message in the log files.

The number of such messages were less initially and now have incresed quite a lot and the performance of Jira has also taken a Hit. I assume the root case of both is something related to below message.

http-bio-8080-exec-104 ERROR xxx xxxxx /rest/keplerrominfo/jjupin/latest/lf/initPage [issue.customfields.impl.AbstractSingleFieldType] More than one value stored for custom field id 'customfield_12821' for issue 'ITEM-55'. Values [1008000.0, 1008000.0, 1008000.0, 1008000.0, 1008000.0, 1008000.0]

Field customfield_12821 is a Interval Type field which is updated using SIL when a issue is opened (or viewed).

Some digging on this error took me to

Is SIL getting affected by this? Is there a work around or a fix available for this. We are using Jira 6.1.2 and upgrading to 6.2 is not going to be easy for us.

2 answers

1 accepted

0 votes
Accepted answer

Hi Salman,

Yes, SIL is affected by that issue. You should be able to fix the errors by running an integrity check, but it will not prevent them from happening again. The proper way to fix is to upgrade JIRA to 6.2.

As the plugin uses some JIRA API to update field during view - there is high probability of concurent update when 2 users view at the same time - so plugin is affected by this issue. The most proper way to solve it - is to upgrade. If that doesn't work for you - as a workaround you can write a service that will execute the updates that are proposed inside the ticket you've listed (you can use script runner service) and fix duplicated entries.

Please note that your jira version is security vulnerable - so it is highly recommended to upgrade or at least implement the patch

Suggest an answer

Log in or Sign up to answer
Community showcase
Published 8 hours ago in Agile

How Scrum works? It starts with training and education

To answer “How scrum works,” most of the teams I've worked with first addressed the question: “where to start?”  That question applies to both implementation and improvements on the Scrum framew...

75 views 2 3
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