Statuscategory.name is specific to user's language, we should use statuscategory.key instead

/rest/api/3/statuscategory

I found the name will be different to the spcific languages users choose. For example, in English, the statuscategory name is Done, but 完成 for Chinese.
So if we develop the codes to use a if statement, we have to use === done.