Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Do not reuse project name: filters would still refer to the old project

Inna S
Contributor
September 13, 2023

Hi,

consider this:

 

ProjectRenameBug.jpg

What happened? 

We had a project named 'DevOps'. We've decided to put it aside (wrong type and more reasons) and create a new DevOps project.

Step 1: Renamed the existing project to OldDevOps and changed its key to OLDDEVOPS.

Step 2. Created a new project 'DevOps'.
No problems so far.

Step 3. Tried to set the project key to DevOps and failed because the key can't be reused.
Decided on a slightly different key and set it ok.

At this point we had Jira rename all the issued in the old project to use the new key.

 

Step 4. Create a basic filter for the new project to be used on the default project board.

Here is the filter:

((project = DevOps and type in (Story, Bug, "RnD Field Bug", Epic)) and statusCategory != Done) ORDER BY Rank ASC

As can be seen, it refers to the new project name 'DevOps'. 

Yet, when we run the query, issues from the old project come up and issues from the new project are omitted:

 

ProjectRenameBug.jpg

 

My guess is that this is thanks to the same 'feature' that let's you find an issue that was moved to a different project by its old name. Still, this is both confusing and irritating.

 

In a nutshell: do not reuse project name.

 

2 comments

Comment

Log in or Sign up to comment
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Indeed reusing a project name is fraught with possible errors. You must clear out all references to the original ad you have shown. Finding all references can be quite the challenge.

Inna S
Contributor
September 13, 2023

It was a silent project with no much of activity. And the only reference I could think of was the project name and key in a filter. But they did not warn anywhere that rename would result in this catastrophic output: effectively you may have a project but you will not be able to search for issues that reside in it. That makes the whole idea void.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Hi @Inna S , you can always reach out to Atlassian support for help with an issue like this. I know they would be interested in the process you used here.

Inna S
Contributor
September 13, 2023

TBH, I'm tired of them. They are trying to use my company time for debugging their product. One year of experience and tens of cases brought me to realization that it is 'take it or leave it' situation and we've got find our ways around with the generous help of this community and almighty Google.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Inna, I appreciate your frustration and sorry you feel this way. My experiences have been quite different fortunately. While there are certainly things that I wish were different I have found this to be the case with any heavy UI centric software. Overall, I am very pleased with the Atlassian products I use and their focus on improving them. With that said, I would definitely consider using the in-app feedback link as I do know they read and appreciate the input.

Inna S
Contributor
September 13, 2023

Glad you were lucky here. 

I've experienced systems that provided decent functionality, UI/UX, security and support.

Apparently this set the bar of expectations too high.

If they care, they would read their own community. We are not having this conversation on some private reddit sub-stack, right?

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Correct but the Community eyes are primarily users whereas the feedback link goes directly to the source.

Don Masten
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.
September 13, 2023

If tickets in OLDDEVOPS aren't needed. You could delete it and remove it from the trash.

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

Yes but before trashing the project you should delete all filters, dashboards, links to Confluence pages, etc.

Inna S
Contributor
September 13, 2023

We have disabled 'delete' operation because Jira does not have the concept of recycle bin and this was the suggested best practice. 

As an admin, I can temporarily add myself the permission to delete, but why care?

Beyond, this is just yet another bug in Jira, this time it is a design bug and not a code problem. Last time I tried to report a bug, they refused, went out of their way to convince me the behavior was 'as designed' and ok. 

At this point I'm just finding the shortest and safest path and close at that.

Btw, @Jack Brickey , removing all the filters, dashboards etc. from the old project would not help in this case: the problem exhibited itself in the new project, with new issues omitted. 

Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 13, 2023

FWIW, for future readers here... here is the delete and restore feature. The first image illustrates how to move a project to the trash bin. The second image illustrate how to restore (good for 60d). Admins will be notified of the delete and warning of permanent deletion upcoming.

IMG_2597.pngIMG_2598.jpeg

Inna S
Contributor
September 13, 2023

We recently had a project deleted from the trash. No notification on upcoming deletion was received.

The comment was about deleting the issues, not project and there is still no recycle bin for issues in Jira Cloud.

In the absence of any kind of real backup in Jira, I'd not dare to actually delete projects beyond the initial setup phase. It is a content management system and one must assume the data has some value.

TAGS
AUG Leaders

Atlassian Community Events