(disclosure: I'm very new to scripting, I took a C++ class about 8 years ago)
I'm trying to fire a custom email via scriptrunner when the reporter is "Remote User". What script would i use for this?
I cobbled together a condition script :
def userManager = ComponentAccessor.getUserManager()
issue.reporter == "Remote User"
But it always resolves as false, so i must be doing something very wrong.
Both suggestions return "Cannot get property 'name'(or displayName) on null object"
Returns a "The condition evaluated to false"
Thank you for the suggestions!!!
Would it be possible to have a condition that evaluates to true if a custom field has changed? The field in question will only ever have a value if the email sender does not have a JIRA account.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot