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

This widget could not be displayed.

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

This widget could not be displayed.

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

This widget could not be displayed.

Yes, this is the same issue.

This widget could not be displayed.

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.

This widget could not be displayed.

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

This widget could not be displayed.

yes please

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

55 views 1 0
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