assignee is set to reporter after csv import

Hi,

I am having trouble importing issues from a jira-xml-export that I have converted to a csv-file.

In the csv-file in column assignee and reporter contain different usernames (which already exists in the system).

I have checked that the assignee field in the file is mapped to Assignee and reporter to Reporter.

The import runs without any warnings, but when checking the imported issues, the Assignee field is always set to the same value as Reporter.

I also have trouble with the Updated field which is set to the same as Created.

4 answers

1 accepted

Accepted Answer
0 votes

Can you check if there is some post function defined in the workflow on "Create Issue" transition that sets the assignee?

Should that matter when importing issues with a definded Status?

This affects all imported issues no matter what Status it has.

Since there are no transitions made, the Post Functions should not run.

I have checked a few functions where changes to Assignee can occur and the values it can be set to does not correlate with Reporter.

0 votes

Please try checking the import logs which should provide further information regarding this. Also, try making sure that the users joad and rho1 for example have the Create Issues project permission before importing. :)

All the users in the csv file have Create Issues permission.

The log file shows that there are 10 users assiciated with import. All those exist i the system.

It goes on with all the issues and report all issues sucessfully created.

All the users in the csv file have Create Issues permission.

The log file shows that there are 10 users assiciated with import. All those exist i the system.

It goes on with all the issues and report all issues sucessfully created.

Turns out there was a script running when creating issues. That script automatically set the reporter as assigne in som cases.

 

Thank you all.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

25,283 views 2 7
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