I am trying to retrieve the specific value in a array but it says undefined
below is the sample array
[customfield_10007] => Array ( [0] => com.atlassian.greenhopper.service.sprint.Sprint@13e19f2[id=70,rapidViewId=27,state=CLOSED,name=Sprint 1,goal=,startDate=2015-11-16T14:53:46.428+05:30,endDate=2015-12-11T14:53:00.000+05:30,completeDate=2015-12-16T11:43:21.799+05:30,sequence=70] )
I wanted to retrieve state=CLOSED. Could you please let me know how I can achieve this
Thanks in Advance,
statekey is part of string and not array itself. You might to check each value of array if it contains state=CLOSED usingstrposor similar function