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

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.

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?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,084 views 4 9
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