How can I check if the author of a comment is a customer?

I need to identify if the first comment of an Issue was done by a customer. I’m able to get the first value author with JavaScript, but I don’t know how to identify if the author is a customer.

Any ideas?

Hi @Daniel_Luevano,

Jira Cloud returns “accountType” property for the comment author object.
You might create a JavaScript custom field that analyzes the author of the first comment and returns the relevant option.
That might work unless you have Atlassian users acting as customers.

For any alternative option please explain how you distinguish that the specific reporter is a customer. Is it some user-group?

Please share your JavaScript code for the first comment, as that might hint at a possible approach.

Oskars /

1 Like