howto set default reporter


we use JIRA Software inhouse, Our support should be able to create issues anonymous. (via Web-Gui and not via E-Mail)

that issues habe "anonym" as reporter. How is it able to set the default reporter? (if the user is not logged in) 


I tried using the script runner.


import com.atlassian.jira.component.ComponentAccessor;
import com.atlassian.jira.issue.Issue;
def reporter = issue.getReporterUser();
def issueService = ComponentAccessor.getIssueService();
def issueInputParameters = issueService.newIssueInputParameters();
//get logged in user
def user = ComponentAccessor.getJiraAuthenticationContext().getLoggedInUser();
if (user == null) {

somehow it isnt succesful.  What is the meaning of the user properties? (Key, Username, Name) 

for assigning as Reporter: Using Key or Username? 


2 answers

This widget could not be displayed.

setReporterId takes the user key, not the user name. 

This widget could not be displayed.

How are you expecting an anonymous user to give you the information required to work out who the reporter is?


Only the support is expected to create anonym issues. 

in JIRA there is an "Support"-Account  created.

The Support is able to receive email-Notifications if an support issue is updated.

Of course the project lead (default assignee) is able to set the author/reporter to "support". 

It would be a nice feature having set that by default.

I'm confused now.  Could you explain the rules for "what to set reporter to" and who is doing it?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

215 views 3 0
Join discussion

Atlassian User Groups

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!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you