Why does collecting Change History cause system to not allow updates while running?

We have a scripted field that loops through the Change History and using a string buffer, displays the entire change history into a single field.  This is being used so the change history can be exported to pdf using the Xporter plugin.  The problem we are running into is when the change history is very long (the script takes over 30 seconds to execute), it seems to lock other users out of viewing and updating issues.  Any idea why this might be happening?  It almost feels like it's putting a lock on the database.

6 answers

0 vote

Does this refer to the same script as Scriptrunner script hanging up Issue Viewing ? It's a very similar question.

I'm not sure, but possibly. Where was this question at, do you have a link?

Yes, this is the same issue.

0 vote

Sorry, I meant to post the link: https://answers.atlassian.com/questions/29953319/scriptrunner-script-hanging-up-issue-viewing. Is it the same company? If so please can we work through the one question, because it takes quite a while to get my brain in gear and think about the problem, and it just disperses the information. I thought I had posted on that at the weekend but I looked earlier and didn't see my reply.

Yes, we certainly can. Should we use the other one that has the code posted?

0 vote

yes please

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

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...

694 views 6 13
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