It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Restore Deleted Resolution (Fixed) 10001

Alvin Parreno Oct 09, 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] Community Leader Oct 09, 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 Parreno Oct 09, 2018

Thanks @Nic Brough [Adaptavist] , will update you later

Alvin Parreno Oct 09, 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 Parreno Oct 09, 2018

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

Nic Brough [Adaptavist] Community Leader Oct 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 Parreno Oct 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 Parreno Oct 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] Community Leader Oct 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 Parreno Oct 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 Parreno Oct 10, 2018 • edited

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 Parreno Oct 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] Community Leader Oct 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 Parreno Oct 11, 2018

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

0 votes
Alvin Parreno Oct 11, 2018 • edited
can you verify if I am doing it right?
Alvin Parreno Oct 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Next-gen

Introducing subtasks for breaking down work in next-gen projects

Teams break work down in order to help simplify complex tasks. This is often done iteratively, with tasks being broken down into smaller tasks and so on until the work is accurately captured in well-...

10,004 views 46 44
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you