Forums

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

Workflow Perform action overwrites user choices for the resolution field

Bernhard Willert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2026

We have a transition Any -> Done in our workflow, which is also used by an external tool to close specific task issues via API (those issues that the tool also created in the first place).

We noticed that tickets closed via the API did not contain a set resolution leading to some issues, so we tried to follow the best practice guide: https://support.atlassian.com/jira/kb/best-practices-on-using-the-resolution-field-in-jira-cloud/

There was already a screen assigned to this transition and when manually finishing an issue this screen enforces a set resolution, so far so good.
In addition, we added a Perform actions rule intended for the API usecase. This rule does the following:

Rule: Update a work item field
Update this field: Resolution
The value will be set to done

This works fine for the API-based closure of tasks, but when we close an issue manually, no matter what is selected in the screen, the resolution is now also always done. The perform action seems to overwrite the user choice.

Is there a way to configure the workflow to apply a default resolution value, only if none is set? Or to differentiate between API-triggered transition and manual UI-triggered ones? Is the KB article outdated, since it also mentions post-actions which seem to have been at least renamed to Perform action rules?

3 answers

1 accepted

5 votes
Answer accepted
John Funk
Community Champion
February 11, 2026

Hi Bernhard - Welcome to the Atlassian Community!

I don't think you will be able to accomplish what you want to do with a single Transition. You can leave the All going to Done and use the API. 

Then you can create additional Transitions from the other Statuses to Done and use the screen. Not sure how many other Statuses you have that could go straight to Done so that might be too much. 

The other option would be to create another Status for Completed or something like that. Add the ALL to it and use the Screen. 

Bernhard Willert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2026

Hi John,

thanks for the welcome!
Yes, seems like the options in the KB article are "either or" and not meant to be used at the same time.

Can I use individual transitions like "In Progress" -> "Done" in addition to "Any" -> "Done"?  Which one would take precedence when I change a state manually?

A dedicated end status for the automated flow or a dedicated issue type might be a good solution. At least I can configure which transition is used by the external tool to close a ticket.

John Funk
Community Champion
February 12, 2026

Yes, you can use both the individual transitions. One doesn't really take precedent over the other as both would appear to the user. So in that case, I usually add conditions to one or the other transitions so the user only sees one. So if you are using a dedicated issue type, then you would just add that to the appropriate transition as a Rule. That would be your best solution I think. 

Bernhard Willert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 12, 2026

Thanks John, I'll try that

Like John Funk likes this
John Funk
Community Champion
February 13, 2026

You are welcome and best of luck!

2 votes
Duc Thang TRAN
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 Champions.
February 11, 2026

Hello @Bernhard Willert 

1  For your information, in the new workflow editor  interface, post-functions have indeed been renamed to Perform actions. You can select “Update a work item field”, then choose the Resolution field and the value you want to set.

2  However, if you deploy this, the resolution selected on the transition screen will no longer be useful, since the post-function will override it and force the value defined in your rule.

3   Could you please share the JSON payload used by your API to close the ticket? Otherwise, here is an example you can refer to

{
  "transition": {
    "id": "31"
  },
  "fields": {
    "resolution": {
      "id": "10205"
    }
  }
}
Hope this can help
Bernhard Willert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2026

It seems like the tool only sends the transition and no further fields like resolution. Is the resolution id something fixed or how can I determine the IDs of our resolutions?

Duc Thang TRAN
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 Champions.
February 12, 2026

@Bernhard Willert 

Yes, the resolution ID depends on your instance configuration , the same applies to the transition ID. I assume you’re familiar with transition IDs since you’re working with the REST API
if not, you can ask a Jira admin to retrieve this information

0 votes
Gunjan Kumar
Contributor
February 11, 2026

Hi Bernard, Welcome to the Atlassian Community!

 

This is expected behavior.

Automation “Perform / Update field” actions always run after the transition and do not differentiate between API and manual UI transitions. Therefore, the rule always sets Resolution to Done and overwrites any value chosen on the transition screen.

Atlassian recommends setting Resolution using a workflow post function, not automation:

https://support.atlassian.com/jira/kb/best-practices-on-using-the-resolution-field-in-jira-cloud

Recommended options:

  • Move the Resolution update to a workflow post function on the Done transition, or
  • Add an automation condition: Resolution is EMPTY → then set Resolution, or
  • Use a transition screen with the Resolution field for manual closures.

Automation actions reference:

https://support.atlassian.com/cloud-automation/docs/jira-automation-actions

Bernhard Willert
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 11, 2026

Hi Gunjan,

yes that's the same KB article I also linked. It seems like the options listed there are "either or", if I add an action to the workflow transition as well as a screen, the function will overrule the choice on the screen.

I tried an automation as an alternative, but this rapidly consumes our automation budget.

Suggest an answer

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

Atlassian Community Events