Revert "Make independent copy" for Custom Fields

After clicking "Make independent copy" for a custom field in a project, how do you switch back to using a shared set?

I tried replacing the custom field with another custom field, then switching back, but it still remained an independent copy.

I also tried removing and readding the custom field from/to the project, didn't work either.

There must be a way to switch back to using a Shared set? Obviously I could just copy the values from another set, but future changes to that set would not affect the independent copy.

Apologies in advance if there's an obvious button for this, I simply can't find it.

Thanks! 

0
5 comments

Hi!

I'm Sergey from the YouTrack team.

Merging values is the opposite of making an independent copy. So merge your independent copy back into the shared set and you should be good to go.

If any questions appear, feel free to ask.

0

Hi Sergey,

Thank you for the quick response!

Welp, I would never have guessed to do it that way. I thought merging would merge the other set's values into my independent copy. In the same way as copying values from another set replaces my values within my independent copy. That's a bit inconsistent, imho.

Also, it's not the 100% opposite of creating an independent copy, because if you already have new values in your independent copy, and then merge into an existing set, that new set will - obviously - have the new values in it too, which you then have to remove manually. Which is absolutely the way it should be working for merging. But it's technically not the "Replace the current independent copy with an existing set" feature I was looking for.

In any case, that resolves my issue, thanks a lot!

0

Thanks for the update. Glad to hear that it helped.

I thought merging would merge the other set's values into my independent copy

It's the same thing, though. At the end, you just get one set instead of two sets. It doesn't matter which merges into which.

Replace the current independent copy with an existing set

I guess it depends on your definition. Either way, once a set is shared (i.e, used in multiple projects), you can actually see the Replace button in the settings. If a set is independent, you can only merge it.

0

Hello Sergey,

As mentioned, my problem is already resolved with your answer, but since I imagine I'm not the only user confused by this, I'd like to quickly make sure that we're talking about the same "missing" feature here:

I was looking to completely replace the current independent copy with an existing set. Like, throw away every value currently existing in the independent set, link the field to the selected shared set, and do necessary migrations/mappings. This would be a true "opposite" of "Make independent copy".

Merging will also affect the selected shared set, which is rarely what I want. Let's say I have an independent set "A, B, C", and a shared set with "B, C, D". Merging will modify the shared set - for all projects - to include "A". I can of course manually remove "A" afterwards, but if I have many "new" values in the independent copy, that can become tedious - and it's also not intuitive for someone who just wants to replace the current set with a shared set.

I guess what I'm saying is ... please consider adding a Replace-button for independent copies :-)

Thank you!

0

Thanks for the feedback. We have plans to rework the design of the custom fields in the future so some controls might be changed as well, but it's too early to tell at this stage. 

0

Please sign in to leave a comment.