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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,760 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot