Forums

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

Resolution is overwritten by Screen

Sam Huawey
Contributor
April 3, 2025

We have a workflow for a service request that contains 2 approval steps visible on portal. If approver selects Reject request is transitioned to Canceled state and resolution is added by post function. 

However service desk agents can also reject request from any status and resolution is provided in the Screen.

In both cases Reject is a transition from All to Canceled. But customers obviously do not see the Screen since they do not have access to Jira Core.

Is there a way to

1. if user is an agent then set resolution from Screen selection
2. if user is a customer then set resolution from a post function.

I tried adding another All->Canceled transition to workflow, but Jira prevents it.

As a solution I can create a separate Declined status for approvers, but it looks like an overkill for me.

I have experience in Groovy and can add a Groovy function to All->Canceled transition that would set the resolution conditionally from Screen or from predefined value. Is it achievable by Groovy script?

1 answer

0 votes
Marc - Devoteam
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 Leaders.
April 3, 2025

Hi @Sam Huawey 

Can you show the workflow please.

But Yes, this is possible.

Use the all transition for agents and have individual transitions from the approval states to Canceled and set post-functions with a default resolution on these transitions.

A single transition can't use both you options in one.

Groovy I don't know can it make a difference between action from portal or email?

Suggest an answer

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

Atlassian Community Events