Forums

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

Restore Deleted Resolution (Fixed) 10001

Alvin
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.
October 9, 2018

How can I restore deleted resolution , its Id is 10001. Thank youScreenshot from 2018-10-09 17_54_14.png

2 answers

2 votes
Nic Brough -Adaptavist-
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.
October 9, 2018

Actually, you can't.  You can add back the resolution with the same name, but it will take on a different id.  You should do that, and then update the functions that were using the old 10001 to use the new id.

Alvin
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.
October 9, 2018

Thanks @Nic Brough -Adaptavist- , will update you later

Alvin
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.
October 9, 2018

Hi Nic, I am on my way to update the functions that were using the old 10001 to new id but I am getting this error

 Key starts with 'jira.' but is not known to JIRA.

jira.status.id

here is the xml of the workflow and the old Id to be replaced

 

trt1.png

 

and here is when I add another jira.status.id

trtg.pngplease help thanks

Alvin
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.
October 9, 2018

I modifed xml file using notepad , will give you feedback. thanks

Nic Brough -Adaptavist-
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.
October 10, 2018

You're looking at unrelated things.

Properties on transitions and status are not related to the resolution id.  Additionally, you appear to be trying to set a status property, not a resolution one.

Could you explain what you are trying to do, and what problem you are trying to fix?

Alvin
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.
October 10, 2018

Hi @Nic Brough -Adaptavist- , the problem is I want to export my test project using your product which is the Project Configurator, and whenever I am exporting my project on test prod, it says that there is no Resolution Id 10001, I think we accidentally delete that so I came up with your solution to replace all old 10001 with the new Id that's why I'm doing that part.

Alvin
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.
October 10, 2018

I replaced all old resolution id that was accidentally deleted with the new id, and came to that part of jira.status.id , so I edited it too. Am I doing it right? @Nic Brough -Adaptavist-

Nic Brough -Adaptavist-
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.
October 10, 2018

Absolutely not.

You are mixing up status and resolution, and your "search and replace" could easily have damaged all sorts of things.

I think you should go back to the backup you took before doing any of this work. 

Then describe what you are trying to do and why and we can guide you on how to do it the right way.

Alvin
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.
October 10, 2018

Hi @Nic Brough -Adaptavist-, Okay, I am going to revert the workflow and show you whats the problem I am facing with the Project Configurator

Alvin
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.
October 10, 2018

Hi @Nic Brough -Adaptavist- , here is the error on the project. I am trying to export this test project from test-prod and import it on prod to see if we can catch the following configs using scriptrunner: Listeners, Scripted Fields, Behaviors , and the JIRA configs : Screens, Custom Fields, Workflow. But this error is preventing us to export the projectScreenshot from 2018-10-11 09_52_00.png

Alvin
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.
October 10, 2018

Hi @Nic Brough -Adaptavist- , I already revert it back to original workflow, then edit the resolution value only, not all id with 10001, and it allows me to export the project. I only changed the values in the errors occured. Am I doing it right? Thank you

Nic Brough -Adaptavist-
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.
October 11, 2018

That's better, yes, the edit of the workflow has corrected whatever was trying to use the old resolution that you deleted.

Alvin
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.
October 11, 2018

Hi @Nic Brough [Adaptavist], will Project Configurator capture the listeners , post functions, behaviors, scripted field?

0 votes
IT User Support October 11, 2018
can you verify if I am doing it right?
IT User Support October 11, 2018

Hi @Nic Brough -Adaptavist-, will Project Configurator capture the listeners , post functions, behaviors, scripted field? 

Suggest an answer

Log in or Sign up to answer