Hi all! I'm trying to figure out if there is a way when on the Create transition of a subtask to validate if a weblink exists on its parent.
To explain further, we house requirements documents on a sharepoint server, and in every issue we place a weblink that links out to the requirements document. When creating a subtask underneath that issue, I'd like to prevent the creation if there is not a weblink present on the parent ticket so that we can ensure the requirements document link has been entered.
Is this possible? We do have JWME.
I don't think that's possible. Most of the validators in Jira Cloud works based on Jira Expressions and unfortunately, web links are not available in Jira expression framework yet.
You're right, non-native validators can only be done with expressions.
The best you could do here is to write something on to the new issue to say that it is not valid because there's no link on the parent (put it in a status of "invalid" or set a field to "not valid" so you can search for all the broken ones, and send a mail to the creator of it to tell them they've done something wrong)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Stopping creation of an issue (including subtask) is not possible out of the box, as far as i know.
To achieve your use case of if data is missing on parent field, then don't allow creation of subtasks, you may have to look at Scriptrunner
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
bump
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.