Hi,
I've added the JIRA Automation rule from templates to my project to resolve an issue on merging PR automatically. However, it finished w/ an uncertain error: "No transitions were performed by this user."
Please help to make it really work.
Upd:
My other rule is supposed to set the fixed version field to "unreleased". I've just closed my issue manually to see how it works, and it also failed ;-(
Hi Alexander,
Can you share a screenshot of your workflow? Is there a transition available from the current status of the issue to the Resolved status? Is there a transition screen on the transition to the Resolved status? If so, that is probably preventing it from moving. That happens when you want the user to put in a Resolution when they move it to Done or Resolved.
To get around that, I add an ALL transition to the Resolved status and put a post function on it to set the Resolution field to Done. Then I add a condition to that ALL transition so that only the project role of atlassian-addons-project-access can execute this transition.
The automation user will use the same transitions and statuses. What happens when your user selects Resolve? Is there a pop up screen? If so, that is your problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> What happens when your user selects Resolve? Is there a pop up screen? If so, that is your problem.
Yes, I see this popup:
Does this problem have a solution? 🤔
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yep, that's the problem. See my initial answer above, except that you can set the Resolution field to Fixed instead of Done if you like. This will let the automation user move it o Resolved without executing the popup screen.
So Edit your workflow, click on the Resolved status and then click on the box to all statuses to move to it.
Then add the post function to set the Resolution field to Fixed.
Finally, add a Condition to the All transition for Users in a Project Role and select the atlassian-addons-project-access option.
Publish the workflow and you are ready to test it out.
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.
Just found that I can't edit the workflow due to a lack of permissions... :-( Gonna ask our Jira admin on Monday.
Thank you very much for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I told, the automation I took from the templates is pretty simple at first glance, and there is nothing much to set up...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexander Turbov ,
Welcome to Atlassian Community!
If you can add screenshots of the automation and also the audit log that would help answer this question.
Without the screenshots, I would start by checking to make sure that your workflow allows you to move to the resolved status from the status the work item is in when the PR is merged. Also, if you are using another user than Automations for Jira as the actor, make sure that the user has the right permissions to transition the work item.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
As I told, the automation I took from the templates is pretty simple at first glance, and there is nothing much to setup...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> I would start by checking to make sure that your workflow allows you to move to the resolved status from the status the work item is in when the PR is merged.
How can I check this, please? 🤔
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Okay, does your workflow have the Resolved status?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Now, as I resolved it manually (to check my other automation)... yes, it is.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The easiest way to check the workflow is to go to the work item and click on the down carrot next to the status and then click on View workflow. From here you can see to which statuses the item can move to.
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.
When an issue is in progress, I see the following:
but this is my user... I dunno what user the automation uses...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alexander Turbov ! I had the same problem and was able to solve it! I removed the conditions and added them back. It was probably a bug when using the "New Flow Editor."
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.