Import worklog to moved issues Edited

Hi there,

i tested the CSV import for worklogs in our testing environment and i saw that it gives you problems when importing to an issue that got moved.

i.e. in your CSV you got an entry for issue ABC-123 but the issue got moved in the meantime to XYZ-789. The importer won't give you any errors but afterwards the issue is not in the system anymore. JIRA will give you the "issue can not be viewed right now" screen.

Does anybody know about this behaviour or where the issue goes to?

Cheers,

Alex

1 answer

0 vote
Gaston Valente Community Champion Sep 04, 2017

Alexander,

Jira tracks the changes on all the fields, including the issue key, maybe you can do a script to update/resolve the issue keys of that list and then do the import.

If you try to access the issue page with an old issue key, jira redirects to the new issue key.

Hi Gaston,

that would be a possibility to avoid the import on an "old" issue key.

At the moment i can't find the issue I imported the worklog for neither with the old issue key nor with the new one.

Gaston Valente Community Champion Sep 09, 2017

Can you query the database directly to see what happened?

If the issue was at jira, it should be a record somewhere.

it seems that the project changes to the old one when the import is done but issuenum stays the same. Worst case is that an existing issue is overwritten, what happenend in this case and so the issue can not be opened any more.

Moved issue before import

before.JPG

before.JPG

issue after import (project changed)

after.JPG

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 Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

471 views 2 5
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