I have problem reading selected component/s drop down selected value . I am using below code to read selected component value and verify the condition whether it is "Technology", Is there anything wrong with this ? It is not entering into either IF or else, not sure what is happening.
def issue = ComponentAccessor.getIssueManager().getIssueObject("Job")
if('Technology' in issue.components*.name )
{
//...
}
else
{
//...
}
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.