automation show error
Asked by noel.liu:

I create a automation, then the result show error "Destination status could not be resolved. If using a smart-value ensure this resolves to a numeric status ID or untranslated name for issues (with current status)"

May I know how to resolve? And why will show error when I run the rule?

The automation I'd like to re-transition issue status in current status again (loop)


Answers:
author: Trudy Claspill
body: Hello [@noel.liu](/t5/user/viewprofilepage/user-id/4789889)

Welcome to the Atlassian community.

When asking for help with an Automation Rule it will help us help you if you provide the following:

1. Images that show the entire rule.

2. Images showing the details of the steps you think are having a problem.

3. Images showing all the output in the Audit Log for the execution of the rule.

In this case, since this involves a workflow transition it will also help us if you provide the following:

4. The current status of the issue, and the status to which you want to change the issue.

5. Images that show the entire workflow for the target issue type.

comments: author: noel.liu
body: ![?? 2024-07-01 14.12.18.png](https://community.atlassian.com/t5/image/serverpage/image-id/332668i0FFEA0B3331309E8/image-size/large?v=v2&px=999 "?? 2024-07-01 14.12.18.png")![?? 2024-07-01 14.13.30.png](https://community.atlassian.com/t5/image/serverpage/image-id/332669i3ECFECC0D479555D/image-size/large?v=v2&px=999 "?? 2024-07-01 14.13.30.png")

Above autonation, it means transition in same status everyday at 1 pm in JQL "project = it and status in ("Waiting for Authorize","Waiting for APPROVAL")"


author: noel.liu
body: ![?? 2024-07-01 14.15.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/332672iFA967EA0804DE79F/image-size/large?v=v2&px=999 "?? 2024-07-01 14.15.01.png")


author: Trudy Claspill
body: Based on the workflow image you provided there is no looping transitions on the statuses you specified. The rule can't execute the transition because the transition doesn't exist. There is no arrow going out of "waiting for approval" and then back into "waiting for approval". Same is true for the other status you specified.

Each status where you want to enable a "loop" transition needs a transition arrow like this:

![Screenshot 2024-06-30 at 11.33.28?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/332674i802D38090C5CD932/image-size/large?v=v2&px=999 "Screenshot 2024-06-30 at 11.33.28?PM.png")

Notice this statement in the action, and the link for "more info":

![Screenshot 2024-06-30 at 11.37.18?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/332675i6E20FEE44B232B42/image-size/large?v=v2&px=999 "Screenshot 2024-06-30 at 11.37.18?PM.png")


author: noel.liu
body: so may I know how to adjust our workflow?


author: noel.liu
body: another question, if we loop the status, may I know will re-trigger the notification for approval step?


author: Trudy Claspill
body: > so may I know how to adjust our workflow?

If you click on the "more info" link in the Action it will take you to this page:

<https://support.atlassian.com/cloud-automation/docs/transition-an-issue-with-automation/>

On that page you will find this paragraph that includes a link to the documentation about working with workflows

![Screenshot 2024-06-30 at 11.51.01?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/332679i5ECDFA73D14AEB06/image-size/large?v=v2&px=999 "Screenshot 2024-06-30 at 11.51.01?PM.png")

And that page includes information about adding transitions to a workflow.


author: noel.liu
body: another question, if we loop the status, may I know will re-trigger the notification for approval step?


author: Trudy Claspill
body: I don't know the answer to that question. I have not worked much with Jira Service Management and approval steps in those workflows.


author: noel.liu
body: Who can answer the question? Can you ask for someone help?


author: Trudy Claspill
body: Other members of this community may be able to answer that question.

To get better visibility on that specific question I recommend that you start a new Question post for it. In your new post include a link to this current Question to provide the community with the background information on why you are setting up a looping transition.


author: noel.liu
body: ok, thanks


Tags: cloud

jira-service-management

jira-service-management-cloud