Hi,
I want my users to create a subtask only if the parent task has all the necessary fields updated. You may ask me to make those fields mandatory, but the task is created by a project lead, where he only fills the basic fields while creating the task. Later when it is assigned to a team member, that person has to fill the rest of the details before creating the subtask.
How can I do this?
Hi @Shamanth
One solution would be to place validations on the subtask's create transition in order to check these field on creation.
Another solution would be to use Behaviours from Scriptrunner to make a subtask's fields mandatory during creation.
I tried exploring solution one, but I really could not figure out how to validate a parent while creating a subtask. Is it possible to explain more?
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 am exploring JSU Automation Suite for the same reason. There I tried using the Linked Status Validator but quite can figure out if I am doing it right there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hmm.. JSU unfortunately doesn't offer this validator. I didn't recall correcltly. If you are open to explore functionalities from JMWE or JWT you can achieve what you ask by using:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Shamanth and thank you @Alex Koxaras _Relational_ for mentioning us!
Although the Logical validator is one of our most powerful validators, it might be easier to implement for this purpose the Fields required or changed validator. It will allow you to either make any field required for a particular transition or to prompt the user to change them during the transition itself in a transition screen with a very intuitive user interface.
You could also configure it so that the transition will be only executed if some of the fields are empty, which might be of help if you need to avoid that the Project Lead fills some of these fields accidentally.
We offer many more validators, such as Validation of linked issues, Validation of sub-tasks or Validation based on JQL query. If you need more information about them or about any other feature, please, visit our documentation or let us know via our Support Service Desk.
I am part of the Support Team for JWT.
Best regards,
Vicente
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Alex Koxaras _Relational_ ,
I have decided to use ScriptRunner plugin to enforce my usecase. Just to elaborate again, I want my users to create a subtask only when a custom field in the parent issue has the right value. Meaning that the field satisfies a given RegEx condition eg: NA|[0-9]{3}
Do you have a Groovy code for this? I can add this as a simple script validator at the workflow level.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.