Jira Workflow - Possibility to add restrictions or if/else restrictions to transitions?

Micha R_
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 30, 2023

Hey there, 

I would really appreciate your help. Currently, I try to get a new JIRA workflow realized for my team. We are working on the customer's system so I am not able to do any changes by myself but have to talk with the customer's IT specialist.

My team requested the following workflow:

workflow.jpg

Among others, we defined the following requests for this workflow:

1.) When moving a ticket from Analysing to More info needed a dialog should pop up including a field for the assignee. This field should be prefilled with the reporter but should be changeable. By confirming the selection the assignee (prefilled or chosen) should be adopted.

 
=> Is this possible? The IT specialist told me just a "postponed action" can be performed. So, if I want the reporter to be taken as the assignee automatically any selection done within the dialog will be overwritten. According to him this is because the automatical action will be perfomed when changing the status of the ticket (= when closing the dialog).

 

2.) When moving a ticket to Ready an Epic Link is required and Story Points must be defined. If both conditions are met the ticket should just be moved to the new status. Else, a dialog should pop up with two mandatory fields for the Epic Link and the Story Points. If one or both inputs are missing it should not be possible to move the ticket.


=> Same question: Is this possible? According to the IT specialist I either can or can not have a dialog popping up but it would not be possible to realize the if/else-condition. 

 

3.) Just tickets with the ticket type Test or Documentation may be moved from Analysing to Reviewed. Also in this case Story Points are required to be defined. (An Epic Link is not needed at this point.)

=> Can a transition be restricted to specific ticket types in addition to the requirement for Story Points?



I already had a look at the documentation describing the workflow but I could not find any information to solve these "problems". So I am hoping you can help me out - even with just a link to the right spot within the documentation.

 

Many thanks in advance,

Micha

 

1 answer

0 votes
Asha Goyal
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.
March 31, 2023

Hello @Micha R_ 

The best way to achieve this is to use the JMWE plugin or Script runner Plugin. There you can write down your code conditionally.

Hope this helps.

Thanks

Asha

Suggest an answer

Log in or Sign up to answer