Forums

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

How to configure Jira Automation without Resolution Error

Stewart, Emily @ Global D&T March 25, 2025

 

 

Hello, I'm trying to configure an automation rule that transitions the work item from UAT Validated status which has Resolution already set to Done status with Resolution set. I keep getting this error: 

(The selected resolution cannot be chosen during this action. (resolution))

I've tweaked the rule many, many times and have also:

1. Ensured atlassian-addons-project-access has every permission in the project's permission scheme.

2. Ensured there is a transition in the workflow from UAT Validated to Done.

3. Removed the transition "Resolve Issue" screen altogether.

4. Added the Resolution field to the screen.

5. Explicitly included the Resolution id 10000, which is the Done resolution ID, on the transition Properties. 

6. Tried a bunch of different rule configurations, including:

6a. not specifying any rule for the Resolution field

6b. on the "Then: Transition Issue Status to Done" step I tried choosing the Resolution field to set to Done, also tried not choosing the Resolution field but instead put the below in the Additional fields text box, and also tried not choosing the Resolution field but instead put the below in the Additional fields text box using "name": "Done".

{

          "fields": {

            "resolution": {

              "id": "10000"

            }

          }

        }

6c. separating the transition step and editing Resolution step, and changed the order to have Resolution first and then tried Resolution last

6d. adding a condition that the Resolution is resolved

I just don't know what else to try. This should be pretty simple, I think.

image.pngimage.png

1 answer

0 votes
Florian Bonniec
Community Champion
March 25, 2025

HI Stewart, Emily @ Global D&T 

 

You can set the resolution value in the transition operation without using the advanced edit section.

 

Have you check that the field is in the transition screen ?

Does the transition include workflow properties that prevent the value you try to set ?

 

Regards

 

 

 

Stewart, Emily @ Global D&T March 26, 2025

Hi @Florian Bonniec,

You can set the resolution value in the transition operation without using the advanced edit section.

I tried setting the resolution value in the transition operation by just selecting the Resolution field and setting it to the Done value. I also tried using the advanced edit -- first using resolution name and then using resolution ID. I also tried just not setting the resolution at all because it is already set when the work item transitions to UAT Validated, so there's no requirement in the workflow to set the resolution from UAT Validated to Done status. None of these worked.

I also made sure that we don't have a duplicate, different Resolution field that I was mistakenly using.

Have you check that the field is in the transition screen ?

The Resolution field was originally in the transition screen, but when I got the error, I removed the transition screen altogether, which was the first thing I tried to make it work without the error. 

Does the transition include workflow properties that prevent the value you try to set ?

Originally, the workflow transition from UAT Validated to Done properties were empty, but to try to make it work I added it explicitly. Still didn't work. 

image.png

Thanks for trying to help me solve this.

Florian Bonniec
Community Champion
March 26, 2025

You do not need the workflow property, it's sometimes used to include/exclude some resolution option during the transition. In your case it could have block you if the 1000 resolution was excluded.

So the resolution is set before so any issue that are going to Done already have a resolution ?

If it's the case does it worked if you do not set the resolution field during the transition ? 

 

Regards

 

Stewart, Emily @ Global D&T March 26, 2025

You do not need the workflow property, it's sometimes used to include/exclude some resolution option during the transition. In your case it could have block you if the 1000 resolution was excluded.

Right. The transition properties definitely didn't and don't exclude the resolution, and I tried explicitly including the resolution, which didn't work. I just removed the inclusion and tried the automation again, and it didn't work. So, the properties don't seem to be the problem.

So the resolution is set before so any issue that are going to Done already have a resolution ?

Yes, they resolve the ticket when it transitions into UAT Validated because that's their DoD. Once the ticket is deployed to Prod, they want the automation to transition from UAT Validated to Done status. The Resolution can change or not change in the automation rule -- doesn't matter. I just need the Resolution not to throw an error. 

If it's the case does it worked if you do not set the resolution field during the transition ? 

I've tried configuring the automation rule, so it only transitions to Done and doesn't try to set the Resolution field at all. I still get the error.

Florian Bonniec
Community Champion
March 26, 2025

Can you add a screenshot of the Transition action ? As well as the Condition/Validator/PostFucntion of the transition itself in the workflow ?

Stewart, Emily @ Global D&T March 28, 2025

Sure. There's really nothing much to them. As I mentioned above, I've tried the automation transition many different ways: (1) without any Resolution field, (2) with choosing the Resolution field and resolution value, (3) with Resolution id and value in the advanced edit, and (4) with Resolution name and value in the advanced edit.

image.pngimage.png

Florian Bonniec
Community Champion
March 28, 2025

Sorry I do not have much clue here, you should raise a request to Atlassian.

 

I do not have a cloud instance to play with and investigate.

 

Regards

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events