Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Problem reading component/s drop down selected value

Krishna February 16, 2020

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
{
//...
}

0 answers

Suggest an answer

Log in or Sign up to answer