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 xxx.xxx.xxx.xxx /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 https://jira.atlassian.com/browse/JRA-12796

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

Accepted Answer
0 votes

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 https://confluence.atlassian.com/display/JIRA/JIRA+Security+Advisory+2014-02-26 - 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 3 hours ago in Jira Ops

Jira Ops Early Access Program Update #2: Let’s talk severity levels

Welcome to your weekly Jira Ops Early access program update, where we’re sharing news and updates on Jira Ops' progress as we work toward our 1.0 release. If you ever want to drop us feedback or idea...

14 views 0 0
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