1
0
-1
- Rakesh Govardhan
- Dec 18, 2019
How to we condition if the value of the field is empty in Exalte configuration.
For example:
If ("Inspection Reason" is empty)
{ then do }
Source: Jira Server/Datacenter
- connector-onpremise-jira
- Comment
CommentAdd your comment...
2 answers
- 10-1
Hi Rakesh,
For your second part of the question:
And also one more, If( "Inspection Reason" in ("Other Inspection","PPAP Inspection")) { Then}
That would look like the following:
def inspectionReason = replica.customFields."Inspection Reason"?.value if (inspectionReason == "Other Inspection" || inspectionReason == "PPAP Inspection") { //Then do }
Best regards,
André
CommentAdd your comment... - 10-1
Hi!
Normally you want to check if you are checking something from the other side, you might do something like:
if(replica.customFields."Inspection Reason"?.value == null){ //Then do } //or equivalent: if(!replica.customFields."Inspection Reason"?.value){ //Then do }
CommentAdd your comment...
Overview
Content Tools
search
attachments
weblink
advanced