Block subtask creation if Parent status is DONE

Enmanuel V_ November 19, 2024

i need to block the creation of subtast in issue parent that are already done.

i firts though on a automation but i belive the solution is on the workflow adding some sort of propertie on the cretion transition

Im not able to use script-runner cuz my company doesn't have it

2 answers

1 accepted

4 votes
Answer accepted
Bharat Kalia
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 19, 2024

Hey @Enmanuel V_ - You can use parent status validator on the subtask WF on create which will allow you to select the status and then if "done" is not in that status the validator will not let the user create a subtask. 

Here is an example - Screenshot 2024-11-19 at 3.40.03 PM.pngScreenshot 2024-11-19 at 3.40.25 PM.pngScreenshot 2024-11-19 at 3.41.15 PM.png

Please let me know if this helped.

Thanks,

Enmanuel V_ November 19, 2024

Yes it helps me a lot! thanks mate!

Like Bharat Kalia likes this
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 21, 2024

Yes that's it! I was not sure if it was available as a default validator.

1 vote
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 19, 2024

Do you have any other plugins like JSU or JMWE?

You'll need to add a validator on the sub-task create tranistion. The validator needs to check the status of the parent item. But I don't this exisst by default.

You can check your available validators when creating a workflow.
Click the create transition and go to validators.

Suggest an answer

Log in or Sign up to answer