There is a condition, where I am the current user, and registered in the User* field.
and I want the following conditions to work, ie:
if I am registered in the User* field, then the User Evidence Url field must be left blank.
how can the above condition be achieved?
because I used the following method, and the condition could not be achieved.
Hi @RIZKY JTUASIKAL ,
You can make use of a validator like the one shown below and add a condition checking if the current user matches the User field and then check if the field is empty.
Let me know if you have any questions or if it helped.
Hi @Neel Mohapatra _Appfire_ ,
I tried using your advice, and it worked!!!
thank you very much for your help, and have a good day
Rizky
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You cannot achieve this with the User validator. You need to use a Build-your-own validator with a script like:
user.accountId != issue.customfield_12345?.accountId || !issue.customfield_12905
where you need to replace customfield_12345 with the field ID of the User* field
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @David Fischer ,
I thought I could use User Validator to get those results :(
thank you so much for your advice, it means a lot to me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @RIZKY JTUASIKAL In such case, you need to create a post function, if User* = currentUser then clear field "User Evidence Url"
Or with the help of automation you can also do this, set field value to null if User* = currentUser.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rizky,
I am not a JMWE expert but it looks like you need to add a condition also to check if the field is Empty (null). So it would be an OR.
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.