You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hey there,
I'm trying to figure out how check if there's any data in a specific custom field prior to allowing a transition from In Progress to Done.
I chose the correct transition and clicked Validators and am now looking for the right option. I have scriptrunner and was hoping it would allow a JQL based validator but no dice there. If I'm stuck using jira expressions what is the one to check if it contains data and/or is not empty? It's custom field 10102 if that makes a difference.
Thanks in advance to anyone willing to point me in a direction :) I checked this forum as well as google and youtube but alas.
What is the type of the custom field?
possible options could be field is not empty or field is not null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like issue.customfield_10102.length > 0 within a validator gets me what the experience I want. If anyone knows how to do this in JQL instead that would be amazing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It looks like maybe this works as a Condition instead of a validator, but not sure it will do what I want?
issue.customfield_10102.length > 0
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.