System auto-transitions the issue to RESOLVED without any user intervention.
Asked by Roshen Antony:

We've encountered an issue where tickets created by one of our clients in the JSM project are automatically transitioning to RESOLVED from IN PROGRESS, despite our workflow indicating that it should be a manual process. We have a Resolution screen attached to the RESOLVED status, which should prompt users to choose the appropriate resolution code and submit, resulting in the status changing to RESOLVED. However, for some tickets, this transition is occurring automatically by the System. Is this a known issue, or could it be a bug? Additionally, is there a possibility of this happening again in the future?"  

![JSM_BUG.png](https://community.atlassian.com/t5/image/serverpage/image-id/308286i9A7353FE0B4249C4/image-dimensions/318x410?v=v2 "JSM_BUG.png")


Answers:
author: Sreenivasaraju P
body: HI [@Roshen Antony](/t5/user/viewprofilepage/user-id/5436709) ,

Please check whether you have some automation rules, which move ticket to Resolved from In Progress.

Regarding screen, have you add validation to make resolution field as mandatory ? If you don't have any validations them system can execute the transition without update the fields of the screen.

comments: author: Roshen Antony
body: Hi [@Sreenivasaraju P](/t5/user/viewprofilepage/user-id/853354) ,  

Thanks for replying.   

No, I don't. Only a rule which send out mail to the reporter once the issue transitions from IN PROGRESS to RESOLVED.  

I'm not entirely certain about that. It was this same resolution screen with a bunch of resolution codes attached to the custom resolution field that appeared to function correctly across all projects without any validation issues. However, I encountered this issue with a specific project which resulted in auto-transition for only 2 tickets. The rest of the tickets followed the workflow as expected.  

So I hope the validation is not mandatory in this case.  

Please correct me if I'm wrong!  

<br />

![jsm1.png](https://community.atlassian.com/t5/image/serverpage/image-id/308305i26728E9085BCC960/image-dimensions/183x160?v=v2 "jsm1.png")![jsm2.png](https://community.atlassian.com/t5/image/serverpage/image-id/308306iBF8693B5FA461F1F/image-dimensions/282x241?v=v2 "jsm2.png")![jsm4.png](https://community.atlassian.com/t5/image/serverpage/image-id/308307i7264CE7FDA79482E/image-dimensions/273x219?v=v2 "jsm4.png")![jsm3.png](https://community.atlassian.com/t5/image/serverpage/image-id/308315i5FE482915A486996/image-dimensions/489x191?v=v2 "jsm3.png")  

<br />


author: Sreenivasaraju P
body: You can add validation in the workflow.

Some thing similar as below and make resolution code field mandatory

![fieldrequired.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/308316i39CE96E29D551C50/image-size/large?v=v2&px=999 "fieldrequired.PNG")


author: Roshen Antony
body: Sure, thanks for the information. Will add the validation in the workflow.  

As an alternative method, I was running a rule to transition the issue back to IN PROGRESS and send out a mail to the Admin or the PM if the transition isn't initiated by any of the support engineers.   

<br />

Thanks [@Sreenivasaraju P](/t5/user/viewprofilepage/user-id/853354)  


author: Nic Brough -Adaptavist-
body: You do not need to add any validation in the workflow.

If the resolution field is on the transition screen, it will be set - the user has no way to leave it blank.

The problem you have is nothing to do with resolutions or validators.


author: Roshen Antony
body: Hi Nic,  

Thanks for looking into this issue.  

This is something the system initiated.  
If the user initiates the transition, a resolution code selection screen (transition screen) will appear to proceed to **Resolved**.


author: Nic Brough -Adaptavist-
body: Hi Roshen,

You say "However, for some tickets, this transition is occurring automatically by the System."

This is not something Jira does. If a transition is happening, a human has either:

Chosen to make the transition

Set up an Automation, Script, or Listener, that will do it automatically in certain cases

You will need to work out what has been automated. Start with a look at the issue history - every transition will be logged with a change of status, showing the user account that performed it, and date and time. If the user doing it is a human, ask them. If it is an automation or script account, then you know where to look.

comments: author: Roshen Antony
body: Hi Nic,  

Thank you for your insight.  

I completely understand and I agree that typically, transitions in Jira are initiated by human actions only, through some automated processes.

I've provided all the details of the case, It's indeed puzzling that the system appears to be triggering these transitions automatically. coz the workflow we configured is in such a way that the user (support engineers) will be the one who transitions the issue manually to Resolved. And No rule is being set up to do the transition.

I couldn't figure out what went wrong in these specific cases.

As a preventive measure, I am running a rule to revert the issue status back to "In Progress" if the transition isn't initiated by any support engineers. This mitigates the recurrence of the same issue from occurring in the future.


Tags: cloud

jira-service-management

jira-service-management-cloud