Reporter and creator is different

Hi,

A Customer has created a ticket and mentioned the reporter of the ticket to different user.

Is there any way to find out which user has logged in and created the ticket.

Please let me know if you need any more info.

Regards,

Rash

8 answers

1 accepted

4 votes

Not really. When you create an issue, Jira creates it with whatever reporter the user enters. That's it, the first time the issue exists as an entity, it has the reporter on it. If the user changed it from themselves to someone else, you're a bit stuck, because the person doing the typing doesn't actually commit that into the issue.

There's two easy workarounds to prevent the loss of information, but neither will help you for older issues:

1. Use a post-function to set a custom field (I call it "creator") to %Currentuser% on the create transition

2. Remove reporter from the "create issue" screen, so it always logs the current person (and if they need to change it later, leave it on the edit screen)

You can try to work it out from watchers and project activity etc, but that's not always clean enough.

Yes.. This can be done for future issues...

Unfortunately, solution #2 still causes confusion in the Activity section: even after creating an issue with myself as the reporter by default, if I change to another reporter then that new person suddenly shows in the Activity section as the person who created it.

Yes, that's correct behaviour, given that Jira doesn't log creator correctly. I prefer solution 1 as it's perfectly clear

Do you have system configured to automaticaly add "real reporter" as a watcher?

Yes.. How will we find the watchersof an issues

Yes..but how do we find the watchers of an issue?

Also, there is an Improvement ticket regarding to this feature.

https://jira.atlassian.com/browse/JRA-4618

You can vote it for furture Implementation.

User is automaticaly added to the watchers list (click on the number of watchers to see the Watchers list).

Sometimes (if jira is configured to send notifications to watchers on creation and if there is no other postfunction to add additional users to watchers list on create transition) is possible to find the user in log file of the mail server. Search to whom of the watchers email has been sent (with Issue created event).

https://jira.atlassian.com/browse/JRA-4618 is closed and they have done something due to this problem.

Next workaround. Use Script runner plugin:

Add Scripted field

import com.atlassian.jira.user.ApplicationUsers;
import com.atlassian.jira.user.ApplicationUser;
ApplicationUser CreatorUsr = ApplicationUsers.from(issue.getCreator());
return CreatorUsr

choose User picker (single user) template

You don't need any workarounds any more - Atlassian fixed it  a couple of years back.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Jira

Mission-critical battery manufacturer fulfills FAA software requirements with Commit Policy Plugin

EaglePicher Technologies is a leading manufacturer of battery systems for diverse industries like defense, aviation, space or medical. As they operate in highly regulated industries, keeping a clear ...

165 views 0 2
Read article

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