Forums

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

Assignee of a story should be able to set the status of story as 'Done' only after associated review

mummareddy supriya
Contributor
November 29, 2023

We have observed that the project team is closing the story without completing review (Associated PRDB ticket is still In progress). So, requesting to allow the assignee to set the Jira story to ‘Done’ state only after the linked review in PRDB is in ‘Closed Out’ state.how to do it

1 answer

1 vote
David Friedrich
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.
November 29, 2023

Hi @mummareddy supriya ,

If I understand your requirement correctly, the transition to status Done should not be possible as long as there are still unresolved issues linked to this ticket.

Without any apps this can only be done if your 'associated PRDB ticket' is a subtask to the story. Then you can arrange this via the workflow by adding a condition to the corresponding transition:

image.png

If this is not the case and you do not want to use any apps providing more WF conditions or validations, then an other possibility would be with a combination of hidden field, automation rules and workflow condition:

1) define a field (ie single text field "PRDB") but hide from create and edit screens of your story - just the view screen.

2) set story WF validator "Field required", choose your new field PRDB. Set an error message like "Please close PRDB check first"

3) set up an automation that triggers upon issue transition of your PRDB issue to status 'Closed out' and adds a value to the linked story in field PRDB - like "ok" 

Then setting the story to done is only possible after a text value was added to field PRDB which can only be done by closing the linked PRDB issue.

Hope that helps.

Suggest an answer

Log in or Sign up to answer