It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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
Answer accepted

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 in Marketplace Apps & Integrations

Expose your beautifully crafted Dashboard through the Jira Service Desk Customer Portal

  A picture is worth a thousand words, especially when you're trying to find relationships and understand your data. Here, Dashboards play a vital role in gaining insights from a variety of dat...

221 views 3 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you