Auto changing the resolution for a specific Status
Asked by Ryan Angermeier:

One of our status's is Marco Portal and this will send the ticket to Marco and put the ticket into a Sent to Marco queue but the resolution is still unresolved. How do I get this to automatically change to Done once the ticket has moved to Marco Portal status? Currently we have to go into each ticket and manually change it to Done. I did not create our Jira workflow but that person does not work here any more.


Answers:
author: Marc - Devoteam
body: Hi [@Ryan Angermeier](/t5/user/viewprofilepage/user-id/5587948)

You should edit the workflow related to the issue type used.

Add a post-function on the transition into the status Macro Portal.

Use the post-function "update issue field" and select the resolution field from the dropdown and select the resolution 'done"


author: Trudy Claspill
body: Hello [@Ryan Angermeier](/t5/user/viewprofilepage/user-id/5587948)

Welcome to the Atlassian community.

Can you provide a screen image of the workflow diagram that includes the "Marco Portal" status?

What does "send the ticket to Marco" mean? Are you creating a copy of the ticket in another project? Can you provide screen images that show the automation of this process?

Is the "Sent to Marco" queue in the same JSM project where the ticket was originally created or in a different JSM project?

I'm asking these questions to attempt to clarify the appropriate action. If there is no copy of the ticket made, then setting the original ticket to a Done status will move it out of the "Sent to Marco queue", I assume.

comments: author: Ryan Angermeier
body: You can see the status is changed to Marco Portal but we have to manually change the resolution to resolved. Until we go in and manually change this it stays open. I did find this set resolution window but testing some tickets it does not change automatically![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/346677i818BD771D53E960D/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/346678i984104F41C653D9F/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/346680iB8FC7F798E6AE6BD/image-size/large?v=v2&px=999 "image.png")


author: Trudy Claspill
body: What type of project does this concern? You can get that information from the Type column on the View All Projects page under the Projects menu.

If you click on the arrow pointing from ALL to Marco Portal you will be able to access some information about that transition such as validation rules and conditions.

![Screenshot 2024-09-10 at 4.14.34?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/346695i47A92D11D5E6716D/image-size/large?v=v2&px=999 "Screenshot 2024-09-10 at 4.14.34?PM.png")

In the Workflow for a Company Managed project you would want to look at the Post Functions for the transition and confirm that there is a step there that sets the Resolution field during the transition.

![Screenshot 2024-09-10 at 4.18.02?PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/346696iC12092664AE80585/image-size/large?v=v2&px=999 "Screenshot 2024-09-10 at 4.18.02?PM.png")


author: Ryan Angermeier
body: Boom! (drops the mic) and that's my win for the week. Thanks you all for helping in this matter as it now works as expected.


author: Trudy Claspill
body: I'm glad we could help you, [@Ryan Angermeier](/t5/user/viewprofilepage/user-id/5587948)

If our responses helped you solve your issue please consider clicking the Accept Answer button about the relevant response. That will also mark your Question as Solved, which helps other users find posts with validated solutions.


Tags: cloud

jira-service-management

jira-service-management-cloud

jira-software