Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Hosting

Status
titleDATA CENTER

Problem

While using my Scriptrunner script in order to update Projectrak values, sometimes we receive this message:

...

How can avoid this from failing?

Solution

When using Scriptrunner script listener with 3rd party apps as Projectrak, sometimes ScriptRunner's groovy cache fails to be deleted. Below these lines, you will find some groovy script lines that will erase these groovy caches, making this script work 100% of the time. 

...

This line clears ScriptRunners' groovy cachés as it is done in built-in scripts. Just by adding it to the first part of your script, you will have solved this problem. 

Filter by label (Content by label)
showLabelsfalse
max5
spacescom.atlassian.confluence.content.render.xhtml.model.resource.identifiers.SpaceResourceIdentifier@140ea
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("script","profields","scriptrunner") and type = "page" and space = "SKB"
labelsprofields script scriptrunner

...