test for existance of fields

Some jira workflows remove one or more of these fields, causing:

  TypeError: Cannot read property 'nil' of undefined
Merge pull request #5 from dpeters/master

test for existance of fields