Transition parent when all subtasks are resolved - I am trying to use this script. when I am editing the workflow and I add a post function my screen just freezes if I select this option, I don't get to enter any parameters or add the script. If I click on the script name to add parameters the browser tries to make a call but nothing happens, if I click on the add button the browser does nothing at all. It is a workflow with only issue type sub-task on it. Other scripts such as 'fire a custom email' or 'fire an event' are fine.
I am running JIRA V6.2.6 and I am running the plugin version 3.0.10
I have run the integrity checker and re-indexed.
any advice will be very gratefully received.
thank you
2015-02-26 14:07:29,090 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:29,090 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-98, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:29,121 http-bio-8080-exec-15 WARN PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
2015-02-26 14:07:29,246 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:29,246 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-98, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:29,262 http-bio-8080-exec-15 WARN PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
2015-02-26 14:07:29,371 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:29,371 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-98, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:29,402 http-bio-8080-exec-15 WARN PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
2015-02-26 14:07:29,543 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:29,543 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-95, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:29,559 http-bio-8080-exec-15 WARN PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
2015-02-26 14:07:29,715 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:29,715 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-98, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:29,730 http-bio-8080-exec-15 WARN PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
2015-02-26 14:07:29,887 http-bio-8080-exec-15 WARN PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
2015-02-26 14:07:29,949 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:29,949 http-bio-8080-exec-15 ERROR PAUL2834 847x4195x1 1sfxwe4 10.70.105.35 /secure/QuickCreateIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-98, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:43,715 http-bio-8080-exec-7 ERROR PAUL2834 847x4230x1 1sfxwe4 10.70.105.35 /secure/CommentAssignIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] *************************************************************************************
2015-02-26 14:07:43,715 http-bio-8080-exec-7 ERROR PAUL2834 847x4230x1 1sfxwe4 10.70.105.35 /secure/CommentAssignIssue.jspa [onresolve.scriptrunner.customfield.GroovyCustomField] Script field failed on issue: PYF-98, field: Scripted answer 1
java.lang.NullPointerException: Cannot invoke method getPriority() on null object
at test.run(test.groovy:32)
2015-02-26 14:07:43,731 http-bio-8080-exec-7 WARN PAUL2834 847x4230x1 1sfxwe4 10.70.105.35 /secure/CommentAssignIssue.jspa [innovalog.jmcf.fields.CalculatedNumberField] CalculatedNumberField: could not find formula in custom field description
There's nothing in here relating to a transition. But I'd sort out: Script field failed on issue: PYF-98, field: Scripted answer 1 ie fix the script field, and removing the field from the other plugin, then it might be clearer what is going on.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, I have been away from my office for a few days but I am back and still working on this problem. I am having trouble identifying the script field that is causing the trouble. I will be back in touch when I have made a bit more progress. Thanks for your help so far. Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
I have made a bit of progress by looking at the things you suggested. I can attache the script now but I still can't get it working. The parent record does not transition when I close the last child item. To clarify:
I put the script on the subtask workflow so that when the subtask is transitioned to 'closed' it should move the parent item along to the next status (Ready for Test) in it's own workflow. I have attached a text file with the end of the JIRA log file. It has the lines that were from the time of the transaction.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not at all. I'll take a look tomorrow.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The way you describe it it sounds like a browser issue - can you hit F12 and look for errors, also check the atlassian-jira.log file on the server for problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What browser are you using?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.