Forums

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

Legacy Automation migration fields on Automation

Àlex Costa April 1, 2025

Hello,

I am currently migrating a Legacy Automation rule from Jira Data Center to Jira Automation, but I am encountering difficulties due to differences in available fields and triggers.

In Legacy Automation, I used the trigger:

  • "Issue resolution changed", with a condition for "Resolution set" and "Resolution "Cleared"

However, in Jira Automation, I do not find an exact match for this condition. I understand that I can use the "Field value changed" trigger for Resolution, but I am unsure how to replicate the exact behavior, especially since some fields used in the Legacy Automation rule do not exist in Jira Automation.

Could you please guide me on how to best migrate this rule while ensuring the same functionality? Any recommendations or best practices would be highly appreciated.

Thank you for your support.

image.png

image.png

Best regards,

1 answer

1 accepted

0 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 1, 2025

Hi @Àlex Costa -- Welcome to the Atlassian Community!

Have you tried using the if / else block with additional conditions:

https://confluence.atlassian.com/automation/jira-automation-conditions-993924794.html#Jiraautomationconditions-ifelseblockIf/Elseblock

And then use the Edit Issue action for each case to perform the updates.

Kind regards,
Bill

Àlex Costa April 1, 2025

Hi Bill,

Thank you for your response.

The main issue I’m facing is that in Legacy Automation, it was very easy to handle this with the "Resolution set" and "Resolution cleared" conditions, but I can’t find a direct way to replicate this in Jira Automation.

In Legacy Automation, these conditions made it straightforward to manage resolution changes clearly and unambiguously. However, Jira Automation doesn’t seem to have a native alternative that provides the same behavior.

Is there a specific combination of conditions or rules I can use to ensure I cover both cases correctly?

I’d really appreciate any guidance on this.

Best regards,

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 2, 2025

Did you try using the if / else and add conditions to test the values of the Resolution?  That should lead to the same result as your original rule.

Àlex Costa April 2, 2025

Hi Bill,

Yes, I’ve already tried that approach, but I still don’t fully understand how to replicate the exact behavior of the "Resolution set" and "Resolution cleared" conditions from Legacy Automation.

In Legacy Automation, these conditions worked seamlessly, but in Jira Automation, I’m struggling to ensure that both cases are handled correctly without unexpected side effects.

Could you provide a more detailed example or clarify how to structure the rule to achieve the same logic? I want to make sure that both setting and clearing the resolution are handled properly, but I’m not entirely sure how to configure the conditions within the if/else block to reflect that accurately.

Thanks again for your help!

Best regards,

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 3, 2025

Please show the following for context on what you have tried with you rule:

  • an image of your complete rule, in one continuous image
  • images of each: the trigger, and all conditions, actions, branches
  • an image of the audit log details showing the rule execution, with all of the areas at the right side expanded to show the details
Àlex Costa April 10, 2025

Hi Bill,

Thanks again for all your help throughout this process.

I believe I’ve finally managed to replicate the intended behavior from Legacy Automation using the new Jira Automation system. I’ve structured the rule with three separate if conditions to cover all possible resolution changes, and the results seem consistent with what I expected.

Could you please take a quick look and let me know if you also think this approach is valid?

First if:

image.png

 image.png

Second if:

 image.png

 image.png


Third if: 

 image.png

 image.png

Audit Logs
I've also included screenshots of the audit logs from test executions, which confirm that each condition triggers correctly depending on the resolution change.

It looks like I’ve got the behavior I needed in all scenarios, but I’d love a confirmation from your side in case I’ve missed anything subtle.

Thanks again!

Best regards,
Àlex

image.png


Complete scenario:

image.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 10, 2025

That looks correct.  Does your testing confirm all the cases you want to handle?

Àlex Costa April 10, 2025

Yes, I’ve tested all the scenarios, and everything is working exactly as expected now!

Like Bill Sheboy likes this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 11, 2025

Awesome; I am glad to learn it is working!  Please consider marking this question as "answered" to help others with a similar need find solutions faster.  Thanks!

Suggest an answer

Log in or Sign up to answer