Hi everyone,
The setup of the project is that we will have a task, with multiple subtask, all with a "phase number" (custom number field). I want to be able to set a condition that a subtask can't be set to In Progress before the previous phase has been done.
Any ideas on how this can be done with scriptrunner in the workflow?
I have a doubt to clarify, based on what condition do you determine if the previous phase is done or not?
I am looking forward to your feedback and clarification.
Thank you and Kind regards,
Ram
Hi Ram, thanks for your answer!
It would be based on the status = done or resolution.
Hope this clarifies
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Patricia,
So let me try to understand your requirements a little bit more.
Say for example you have 2 subtasks. So you do not want to permit the 2nd subtask to transition to done unless the 1st subtask has already transitioned to done or resolution?
Is this correct?
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct yes, only difference is that I don't want the second subtask to transition to "in progress" before the 1st subtaks is transitioned to done
The idea is to use the numbered field to identify the order (as the subtaks might not be created consecutively)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have been a busy these couple of days, so didn't have time to look into it.
I'll update you once I get some time and go through your previous comments.
Thank you and Kind regards,
Ram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.