Automation Rules, ServiceDesk

Hi, I've set up 4 different automation rules.

2 of them has been used since we started using JIRA SD, so the one running the rule is my own user.

I've set up a service account in JIRA to run all these rules instead.

The 2 new rules i've set up are running without problems, but when I try to change the actor of the 2 old rules, they are unable to trigger workflow transition with the error msg:

"It seems that you have tried to perform a workflow operation (Reopen Issue) that is not valid for the current state of this issue (ITGRP-1813). The likely cause is that somebody has changed the issue recently, please look at the issue history for details."

If I change it back to my user, everything is working ok.

This is only a transition issue action based on "issue commented" when an issue has a certain status. The service user has administrator rights to all the service desks, so I cant understand whats wrong.

1 answer

1 accepted

Hi @Stian Bentsen Sveen,

Does the service user have the rights to transition the issue to Reopen (based on what the original state was in your automation rules)? Perhaps this could be the cause of the issue.

I believe that despite the service user has administrative rights to all service desks, he might not have the right to reopen an issue.

 

Hi @Justin Alex [ServiceRocket], Thanks for replying. The service user is assigned project role "administrators" in all the service desks. This service user has access to "Transition Issues" via that project role (same as my user). I tried adding the service user to the "service desk agents"-group and now im actually able to transition. Its weird, because the 2 new automations I recently created also use transition issue and also comments on the issue and they were working perfectly fine before I added the user to the "service desk agents"-group. Its a shame I have to use a JSD-license for my service user, but it was more important to get this working.

Hi @Stian Bentsen Sveen, Ah, that seems to be the problem. Even though the user has the correct permission to transition in a JIRA workflow, he/she would still require a Service Desk agent licence if he/she would like to transition a Service Desk request via the same workflow as well. This has been explained here in the docs: https://confluence.atlassian.com/servicedesk/setting-up-service-desk-users-445188508.html#Settingupservicedeskusers-Typesofusersandtheissueviewforthem Also, I've tried this on a test instance, and managed to hit your issue as well. Guess both of us learn something new! :)

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 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 ...

1,131 views 6 19
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