How can I use ScriptRunner to re-open issues on email/comment?

I am setting up JIRA Service Desk and I need my customers to be able to reopen a resolved issue by responding to the resolution email, or by commenting on the resolved issue.  I would prefer to use ScriptRunner for this if possible, but I'm not a scripting guy and I'm having a lot of trouble with this.  Can someone give me a step-by-step guide to setting this up, or recommend a way to do this within JIRA Service Desk via native functionality if possible?  I will gladly provide any needed insight into my environment that would assist with configuring a solution for this.



1 answer

You can do this without scripting using the Automation plugin, which was built by Atlassian developers.

If you choose to use the Automation plugin, you'd set up an Issue Event Trigger for each workflow. So your setup would look something like this:

  • Trigger
    • Type: Issue Event Trigger
    • Issue Event: Issue Commented, Issue Updated
    • JQL expression: project = SRVDSK AND status = "Closed"
    • The user triggering the issue event is the reporter of the issue
  • Actions
    • Action: Transition Issue Action
    • Workflow Transition: SRVDSK Workflow: Reopen (91)
      • Note: this is the transition back to Open
    • Disable notification for this transition? Yes
    • Transition fields: None

I haven't used Script Runner to do this, but I'm sure it's possible!

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

455 views 1 15
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
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