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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,315 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot