Whenever the ticket move to done, the resolution not set to done as well
Asked by dwike_aprilia:

Dear all

So i have this kind of workflow on my project:

![Screenshot 2024-07-12 at 14.21.36.png](https://community.atlassian.com/t5/image/serverpage/image-id/335191i0882D826BE85533A/image-size/large?v=v2&px=999 "Screenshot 2024-07-12 at 14.21.36.png")

I add the resolution status to done (in post functions) in every transition to done :

![Screenshot 2024-07-12 at 14.24.48.png](https://community.atlassian.com/t5/image/serverpage/image-id/335192i6AD2858CDC7E6C03/image-size/large?v=v2&px=999 "Screenshot 2024-07-12 at 14.24.48.png")

But it doesn't work. The resolution not set to done whenever the ticket moved to done.

![Screenshot 2024-07-12 at 14.26.07.png](https://community.atlassian.com/t5/image/serverpage/image-id/335193i88AFD891526BE1C7/image-size/large?v=v2&px=999 "Screenshot 2024-07-12 at 14.26.07.png")

did i miss something here?  

Thank you


Answers:
author: John Funk
body: Hi Dwike,

You have multiple transitions going to the Done status. Are you sure every transition has a post function that sets the Resolution?

And are you sure you have published your workflow? :-)

comments: author: dwike_aprilia
body: hi john,

yes i did it. already added in every transition that going to Done status (5 transitions in total) in the part post function.

and published it as well john :(

but still not reflected


author: John Funk
body: Are you talking about issues that had already been moved to Done before you added the post functions?

Or are you saying even after adding the post functions, the Resolution field is not getting set?


author: dwike_aprilia
body: the second one.   
even after adding the post functions in all transition to done, the resolution is not set to done


author: John Funk
body: That seems very unlikely. I have never known a post function to fail. Can you share the history of the issue after it was moved to Done?


author: Marc - Devoteam
body: Hi [@dwike_aprilia](/t5/user/viewprofilepage/user-id/3755872)

Can you check you field configuration and check if the resolution field is not set to hidden.

comments: author: dwike_aprilia
body: yes. already exist.

![Screenshot 2024-07-12 at 14.55.23.png](https://community.atlassian.com/t5/image/serverpage/image-id/335200iDC1D64137E78FDD9/image-size/large?v=v2&px=999 "Screenshot 2024-07-12 at 14.55.23.png")


author: Marc - Devoteam
body: Hi [@dwike_aprilia](/t5/user/viewprofilepage/user-id/3755872)

This is you screen, not the field configuration.

Check the Field Configuration Scheme that is used on the project and then check the field configuration used by the field configuration scheme.

And check the Resolution field if it's not set to hidden there.


author: dwike_aprilia
body: wow nice marc, it shows on my ticket now.   

but the next question is, how can I make the resolution status automatically set to done whenever the status is moved to done?


author: Marc - Devoteam
body: Hi [@dwike_aprilia](/t5/user/viewprofilepage/user-id/3755872)

That can be done in the workflow as your 1st screenshot in your initial question or you can create an automation rule for this.


Tags: cloud

jira-cloud