Forums

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

Create error msg while changing the workflow status

Geethanjali S J
Contributor
September 18, 2021

Hi Team, 

We have an issue type called MBI under MBI we have child issues 

The workflow for MBI is

To do - In Progress - Complete 

If all the child issues under MBI is closed/Accepted we can move the status from in progress to complete 

If any one of the child issue is not closed/accepted it should show an error message and we cannot move the status

Can anyone please help me how to do this. 

Regards, 

Geethanjali. 

 

2 answers

0 votes
Martin Bayer [MoroSystems, s.r.o.]
Community Champion
September 19, 2021

Hi @Geethanjali S J if you need to display an error while executing trantision, you need to implement a validator on the transition. Unfortuntatelly Jira does not have required validator by default. You need to use some app, I'm using ScriptRunner for Cloud. I checked some apps and following apps look promising:

0 votes
Airbus Driver
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.
September 18, 2021

You would need to configure a workflow condition for the transition between In Progress -> Complete and use the 'Sub-Task Blocking Condition'. When you choose this condition, you will need to choose the 'Complete' workflow as the condition required for all the sub-tasks to be in order for the parent to be allowed to transition.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events