Deadlock when one script uses another

Description

*This issue has moved*

This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
Can't access your account link in order to reset to a new password.

Hello Jamie

This looks like GRV-722.

Scenario:

  • a scripted REST endpoint doing something with a doSomething

  • a script which calls this doSomething using RESTClient

  • a post-function that calls this doSomething using RESTClient

When I run in the Script Console the REST client code in inline editor, everything works fine. But when I save this code to a file and try to run it either from console, or invoke as post-function on a transition, it does deadlock.

Going to attach a thread dump.

Environment

JIRA 6.3.15

Assignee

Jamie Echlin

Reporter

Oleksii Gnatkevych

Labels

None

Internal Complexity

Unknown

Internal Value

Unknown

Fix versions

Affects versions

Priority

Critical
Configure