We're updating the issue view to help you get more done. 

JJI incompatibility with ScriptRunner scriptedFields

Description

We are using Jira since long time with ScriptRunner plugin (https://marketplace.atlassian.com/apps/6820/scriptrunner-for-jira?hosting=server&tab=overview)

and Tempo plugin (https://marketplace.atlassian.com/apps/6572/tempo-timesheets?hosting=server&tab=overview).

Some days ago we installed JJI.

After installing JJI we realized that some scripted fields of ScriptRunner plugin which query tempo account category fields contained wrong values. Running a non-exclusive reindex in Jira showed the values to come back and then suddenly vanish again while the reindex still running.

We added some debugging to the script code and got the following log:

The lines with "category ok" show valid values while lines with "null" at the end show missing values.

Surprisingly the logging come from the different threads JiraTaskExectionThread and JenkinsSynchronizerExecutorServiceThread. While the first finds right values the second always return null.

The name JenkinsSynchronizerExecutorServiceThread led me to JJI. I deactivated the JJI plugin and run the reindex again. Now everything is fine.

The same when working with Jira all the day. With enabled JJI the values get lost, without JJI everything stays fine.

So it looks like the JJI plugin breaks the ScriptRunner scriptedFields. 

Environment

JIRA 7.12.1, ScriptRunner 5.4.30

Assignee

Unassigned

Reporter

Horst Krause

Labels

None

Epic/Theme (migrated)

None

Patch submitted

None

Testcase(s) included

None

Components

Affects versions

Priority

Major
Configure