About changes to the Select List

So basically, from JIRA point of view, I see three actions:

  1. Add a new entry to the list.
  2. Rename an existing entry.
  3. Remove an existing entry.

I’ve done some testing, the result is as follows:

  1. When an entry is renamed, the existing records automatically have this field renamed to the new value. No issue here.
  2. When an entry is removed, the existing records will have this field empty with no value. This is NOT what we want.
  3. If we add back the removed entry, the existing records will still have this field empty with no value.

The question is how shall we handle the "Remove"? What's the best way to achieve this? Is there a way to keep the field value in the existing records when an entry is removed from the list?

Thanks

Jirong

2 answers

1 accepted

Accepted Answer
2 votes

Quite simply - do not remove them.  They have to be there to support the values in the fields. 

Disable the options you don't want to see any more, as you were told the other day when you asked a similar question.

I've done some testing, Disable is exact what we want. I forgot I've posted another thread. Thanks.

0 votes
Timothy Chin Community Champion Sep 21, 2015

The question is how shall we handle the "Remove"? What's the best way to achieve this? Is there a way to keep the field value in the existing records when an entry is removed from the list?

When you remove the Option, you are removing the Option object. That's why all Issues will lose that value. Probably you can copy that value to another field using a custom listener to listen to a change on that field.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

22,043 views 2 7
Join discussion

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