Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Destination status could not be resolved

Pavel Bokov August 25, 2023 edited

Hello,

I have the following automation configured:

unknown.png

My goal is, when an Issue1 in Project1 is moved to a different status, all issues in Project2 related to Issue1 are moved to the same status.

 

This is my Issue1:

unknown.png

It has "relates to" = Issue2.

I want, when I move Issue1 to IN PROGRESS (for example), Issue2 to get to IN PROGRESS as well.

 

My workflow for Project1 allows ANY STATUS -> IN PROGRESS.

unknown.png

 

My Workflow for Project2 allows ANY STATUS -> IN PROGRESS as well.

unknown.png

 

For some reason, when I transition Issue1 to IN PROGRESS, I get an error in my automation

unknown.png

So far I can't understand what is causing this. Please help.

Thank you

 

3 answers

1 accepted

4 votes
Answer accepted
Joseph Chung Yin
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 25, 2023

@Pavel Bokov -

I concurred with what @Trudy Claspill / @Jehan Bhathena suggested, instead of using your existing logic "Copy from triggering issue" setup, you can just set the destination status to "In Progress"  Example -

2023-08-25_14-34-08.png

Unless you have a specific reasoning to copy from the triggering issue.

Hope this also helps.

Best, Joseph Chung Yin

Jira/JSM Functional Lead, Global Technology Applications Team

Viasat Inc.

Pavel Bokov August 28, 2023

Thanks, @Joseph Chung Yin , I went ahead with explicit destination status definition and it worked fine, though my script is much longer now, but it is a one time job.

2 votes
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 25, 2023

Hello @Pavel Bokov 

Based on the screen images you provided both projects are Team Managed projects. Is that correct? You can see the project type at the bottom of the panel on the left when viewing each project.

If so, I don't have a solution for you but I can explain what is happening.

Even though the projects may use statuses that have the same names, they are actually considered different statuses in the back end and you can't use the Copy From Trigger Issue option.

I have tried two different options using the name of the Status from the trigger issue, neither of which worked.

I tried using a smart value in the Transition action.

Screen Shot 2023-08-25 at 1.25.18 PM.png

Though the target issue does have a valid transition available to a status named the same (In Progress) I still get this 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):
TKA-10 (To Do - 10003)
I tried using an Edit action and JSON to set the Status value
Screen Shot 2023-08-25 at 1.29.17 PM.png
But I got this error:
Unknown fields set during edit, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -
Status (status)
Pavel Bokov August 28, 2023

Thanks, @Trudy Claspill for deeper analysis of the issue and good explanation of what might be happening. This makes sense. I solved my issue by explicitly defining the destination statuses based on source.

Like • Trudy Claspill likes this
1 vote
Jehan Bhathena
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 25, 2023

Hi @Pavel Bokov ,

for debugging check if you can transition the workflow for both tickets manually.

If your usecase is limited to moving ticket to in progress, would suggest trying the Status Hardcoded to "In Progress" Directly instead of the dynamic value you've used currently.

Pavel Bokov August 28, 2023

Hi, @Jehan Bhathena, yes this was tested before creating the ticket. I was able to resolved the issues based on the other answers. Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, atlassian community, journeys for jira service management, journeys for jsm, eap jsm atlassian, early access program atlassian, early access program journeys atlassian, early access program journeys jira service management, join atlassian eap

Join the Early Access Program (EAP) - Journeys for Jira Service Management 🚪

Journeys is a brand new feature in Jira Service Management that helps you streamline various processes in your organization that may cross multiple departments, such as employee onboarding or off-boarding that require action from different teams. ✨

Join the EAP →
AUG Leaders

Atlassian Community Events