Forums

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

Request Type on workflow

Alessio Battistutta March 14, 2023

I want to use a condition on workflow using Request Type content to enable or disable some transitions, but I can't get the value of Request Type Field , In my case i want for "Submit an Incident" Request type to transition directly to Pending Status in workflow and not in Pricing like for "Submit Change Request" or "Submit Service Request"  my problem I don't know what is the value I have to compare in the condition section of transition, i setup a :

The field Request Type will have to be equal to value 'Submit an Incident'. Compared as String.

But is not working.

Thanks

1 answer

1 accepted

1 vote
Answer accepted
Dave Mathijs
Community Champion
March 14, 2023

@Alessio Battistutta Do all request types have the same associated issue type and workflow?

Alessio Battistutta March 14, 2023

Same workflow and yes same Issue type is "Submit a request or Incident" , changes only the Request Type

Alessio Battistutta March 15, 2023

Someone can help me ? 

Dave Mathijs
Community Champion
March 15, 2023

Instead of working with a condition as workflow function on your transition, create an Automation rule with Issue created as trigger, and JQL condition as condition:

project = "<project name>" AND "Request Type" = "<request type>"

followed by the Transition issue action.

The action is the transition on your workflow which can be hidden for user by the Hide From User Condition.

Alessio Battistutta March 15, 2023

Mmhh, quite complex, so with this I can hide a transition from a status based on request type ? 

Dave Mathijs
Community Champion
March 15, 2023

The purpose of hiding the transition via the condition is to hide it from users but to allow it for Automation to take the necessary action.

The automation rule will perform the correct transition (from status A to status B or status C) depending on the request type.

Alessio Battistutta March 15, 2023

Understood, but i come up with different solution, setup an automation which assign a value in a Label field based on Request Type , then check this label on workflow for visualizing or not the transition.

 

Thank for the hints

 

Best, 

Like Dave Mathijs likes this
Dave Mathijs
Community Champion
March 15, 2023

Great to hear you found a solution or even an alternative to my suggestion.

Carla Norman
Contributor
October 4, 2024

@Dave Mathijs I am trying to use your method.  I don't have the option to hide in this transition.  What am I missing? The project is a JWM company project.
680b713e-2e4f-4ecb-a41c-a41b50cf8df3.jpg

Suggest an answer

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

Atlassian Community Events