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.
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
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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...
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!
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