Use script runner plugin to immediately close a newly-opened issue

I believe I am following the correct steps, but the newly-created issues are not being closed, my workflow is attached (Immediate.xml.txt)

2 answers

1 accepted

I was missing the transition from Open to Closed.

0 vote

Anything in the logs? probably you need to set a resolution on that transition....

Here are the relevant log entries, note the post-function is already at the bottom of the list.

2014-04-02 13:25:22,098 Thread-893 ERROR username 805x13718x1 32av5l 10.0.8.112 /secure/QuickCreateIssue.jspa [groovy.canned.utils.WorkflowUtils] Errors: {}
Error Messages: [The workflow operation with action id '111' does not exist in the workflow.]
2014-04-02 13:25:22,098 Thread-893 ERROR username 805x13718x1 32av5l 10.0.8.112 /secure/QuickCreateIssue.jspa [groovy.canned.utils.WorkflowUtils] Not attmpting transition
2014-04-02 13:25:22,099 Thread-893 WARN username 805x13718x1 32av5l 10.0.8.112 /secure/QuickCreateIssue.jspa [canned.workflow.postfunctions.FasttrackTransition] Could not delay changegroup creation time - post-function probably set on Create transition before issue was created. Move function to bottom of list.

Did you publish the workflow? Is that definitely the right workflow config in the question?

The config refers to action 2, but the log refers to action 111.

Good questions, Jamie, but yes, the workflow is published and it is the correct workflow. I might try to repeat this in a different environment.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

279 views 3 11
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