Friday, 16 April 2021

Handling JIRA dropdown None option while comparing a dataframe column value

I am facing an issue while comparing None (default) option in JIRA dropbox fields against a dataframe column.

issue.raw['fields'][result]['value'] != df.RESULT.values[0]

issue.raw['fields'][result]['value'] is None which is the default value set in the dropbox. For all the JIRAs having None selected as the option in dropbox, am facing this issue.

The error that I see is -

TypeError: 'NoneType' object is not subscriptable

Please advise how to handle such None options.



from Handling JIRA dropdown None option while comparing a dataframe column value

No comments:

Post a Comment