Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can I add attachments after import?

Mateusz Mielczarek March 20, 2019

Hello to everyone,

 

I made migration between two jira instances, everything goes ok, but not all attachments was imported on couple projects. I tried to add via REST API but while issue is closed I can't add, know that I need to reopen issue but somone create scheme or workflow that I can reopen issue. I don't want to delete project and add import because we closed permanently old jira. Still have all backup, but question is  how can I add or re-index the attachments? (Also don't want to add manualy on sql - this is the last option)

2 answers

0 votes
Rafael Pinto Sperafico
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2019

Hi @Mateusz Mielczarek ,

You could update the workflow and remove the workflow property from Closed step as a temporary solution, so you could run the REST API endpoint to attach files. Upon completion, please make sure of reverting the change back to its desired state.

Kind regards,
Rafael

Mateusz Mielczarek March 20, 2019

This is some solution, thanks mate. If I don't other solution probably go that way

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2019

Hello,

How did you do migration? How did you restore attachments?

Mateusz Mielczarek March 20, 2019

Hi,

 

I used Projectconfigurator to migrate the projects (custom field, issue type etc) if that failed, and failed because that plugin didn't import properly some projects,  I use just 'Import project' from Admin -> System -> Import and Export -> Project Import, but even that some attachments didn't import properly.

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 20, 2019

Hello,

Try to use Configuration Manager. I usually use this plugin. 

Suggest an answer

Log in or Sign up to answer