Hi,
I'm using JIRA 5.1.7 build 786 for my bugtracking purposes and I have a number of tickets labeled with, say, 'Label_A'. Now I'd like to rename the label to 'Label_B'. As far as I understand there's no way to do it using Jira UI, so I thought changing the backend data dictionary would do the trick. I'm using PostgreSQL as the backend, so I stopped Jira, logged in to PostgreSQL using pgAdmin and updated the public.label table, effectively replacing all 'Label_A' with 'Label_B'.
However, having started Jira back again, I saw that there's still 'Label A' listed on my project's Labels tab, moreover, it behaves like it's actually there, i.e. an advanced search with WHERE clause like this:
project = PRJ and labels = Label_A
still returns all the tickets that were previously labelled with LabelA, but if I click on any of the search results the ticket then shows correct current label (LabelB).
So the question is - what did I miss? How can I correctly rename a label in the data dictionary? Is there some kind of cache I have to fluch before Jira recognizes my changes?