So I tried ./freshmaker-cli --redhat --qe and under Event key, a string was shown instead of an integer for the ones having their state as 'complete'. Hence, I added a check to see if the Event key we are extracting is an int. If not, I am using the State reason attribute to extract the Event key
So I tried
./freshmaker-cli --redhat --qeand underEvent key, a string was shown instead of an integer for the ones having their state as 'complete'. Hence, I added a check to see if theEvent keywe are extracting is an int. If not, I am using theState reasonattribute to extract theEvent key