Is it possible to re-create the demo project in JIRA by any way ?

eKyNoX December 28, 2012

All in the title !

I delete the JIRA demonstration project because my user account do not was having access to it anymore after had play with groups and permission.

I can't find any place to re-place it.

Thanks for the help.

7 answers

1 accepted

1 vote
Answer accepted
eKyNoX January 1, 2013

Yes, That was my first impression primary. I just still hope there is a flag somewhere on the database to desactivate or a code paragraph to comment in the page CreateDemoProject.jsp (that I don't know where it is) to allow create again that demo project.

Anyway, I'll try the import or recreate manually way, thanks a lot for help guys.

2 votes
Renjith Pillai
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.
December 29, 2012
eKyNoX December 29, 2012

Thanks for answer.

I tried, Jira answered that "It appear you started to work with Jira, we can't create demonstration project for you".

Do you have another idea ?

Renjith Pillai
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.
December 29, 2012

I tried deleted and recreating with the URL and it appears to work fine. Two points:

  • Is your account having permissions to create projects?
  • Was the demo actually deleted or is it that it is just not being shown due to permission issues? In that case you need to actually get it deleted or just fix up the permission and use the existing demo project.
eKyNoX December 29, 2012
  • Is your account having permissions to create projects?

Yes, i'm the owner of Jira but I do not find what u said about : pick_up_the_token_from_any_transition_button_on_view_screen so I launch URL without token like this : http://My Server/secure/CreateDemoProject.jspa?atl_token=

It asks for login and after show the error that I can't create demo project because I started to work with Jira.

  • Was the demo actually deleted or is it that it is just not being shown due to permission issues?

There's no demo project, it has been deleted since it disappears from my user projects list just after having played with groups and roles (removed original groups like jira-developers, jira-administrators, ... and recreated ones that fit more my needs).

In the past, I changed in my database directly the demo project key also, but I do not think it's the problem because if I browser table dbo.project, the demo project is not present.

eKyNoX December 29, 2012

I found how to get the valid token and retried with no better results.

I checked another time in database if some DEMO old deleted projects still exist, and foiund nothing.

Renjith Pillai
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.
December 29, 2012

In the past, I changed in my database directly the demo project key also, but I do not think it's the problem because if I browser table dbo.project, the demo project is not present.

This slightly scares me. With this direct database manipulation [which you should have never done :( ], is that renamed project still existing? And not sure what other references are stored by JIRA for the DEMO project, while the only thing I confirmed was deletion and recreation using that URL I gave successfully works.

And opening the URL without a valid token is of no use. And I guess you settled it already as per your last comment.

Okay, going back a step, why do you need to recreate the DEMO project? If it is just for reference, install a development environment for JIRA and use it.

eKyNoX December 29, 2012

I need this for issues exemples, formating text correctly, that kind of things.

I created new issues in my new project, but that's does not look very nice, so I search good wiki usage exemples to creating issues.

About the token, I used firebug to get it, so it is ok.

About database, it's difficult to see if there is something missing about the demo project. The only thing I did is to rename key of DEMO Project in the database dbo.Projects

Thanks again.

Renjith Pillai
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.
December 29, 2012

Restart/Reindex JIRA and retry.

eKyNoX December 30, 2012

No changes.

I'm try to install jira in my laptop to recreate manually the project on my server.

Because the project is relatively small, that will be more simple.

Thanks.

Renjith Pillai
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.
December 31, 2012

Sorry, I have run out of ideas :(

0 votes
Arjan van Bentem August 31, 2016

Though I find the demo content quite disappointing (see my previous comment) I just ran into two ways to create the sample data, even multiple times, on 7.2 server.

First option, only for Scrum or Kanban: just create a new Board.

  • Boards, View all boards (/secure/ManageRapidViews.jspa)
  • Button "Create board"
  • Rather than using one of the buttons, select the link "Create a Scrum board with sample data" (or: "Create a Kanban board with sample data")

This gets one the "New project with board" wizard.

Now curious why I couldn't create the same using Projects: it's actually there as well.

So, second option, including a test project for Project management:

  • Projects, Create project
  • In the footer of the popup, select the link "Create sample data"

This will get one the same wizard, allowing for Scrum software development, Kanban software development, and also for Project management.

0 votes
Arjan van Bentem August 29, 2016

I created a test account on JIRA Cloud just to create the said demo project. Then in Cloud's Backup Manager, I selected "Create Backup for Server", after which the download prompted for credentials and it took me a bit before I realized my username was "admin" (providing my email address for downloading was rejected). But next, in my Server instance, it didn't want to do a selective import, throwing "The file '/var/atlassian/application-data/jira/import/jira-TEST-PLAYGROUND-backup-20160829.zip' is not a valid JIRA backup", probably related to this limitation:

You cannot import a project directly from JIRA Cloud to JIRA Server — the importer will display errors about version mismatches. If you want to restore a project from JIRA Cloud to JIRA Server, follow the steps below:

  1. Install a new JIRA instance (in addition to the one that you want to import your project into). This will be a temporary instance that is used to store a full JIRA import from JIRA Cloud. 
  2. ...

Luckily, before even trying the steps in that link, I peeked into the demo project in my fresh Cloud trial, to see it's really only 17 stories with a total of 3 sub-tasks, plus 3 bugs.

So, the demo project is only 23 issues in total; don't even bother importing those.

0 votes
David Chan
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 1, 2013
The database entry looks like this:
dchan-jira522=# select * from propertyentry where property_key = 'jira.user.welcome.dismissed';
id   |  entity_name   | entity_id |        property_key         | propertytype 
-------+----------------+-----------+-----------------------------+--------------
 10540 | ExternalEntity |        10 | jira.user.welcome.dismissed |            1
(1 row)
  • If you delete that entry and restart JIRA, you should be presented with the pop-up to create the Demo project
  • Backup your database first!

Renjith Pillai
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.
January 2, 2013

Is it not based on the popup window. The popup will still come, but the createdemoproject page will fail if there are already other projects created.

eKyNoX January 3, 2013

I comfirm it; do not work, still forbidden.

0 votes
Renjith Pillai
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.
December 31, 2012

Just verified, if there are any other projects already created, demo project creation is not allowed :(

0 votes
Andy Brook [Plugin People]
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.
December 31, 2012

Looks like an internal counter (perhaps otehr projects), my test instance doesnt have a demo project either and Im not able to create it either.

To get the demo project:

1. Create a local standalone instance of JIRA (same version of course)

2. Create it with the demo project.

3. Do a Full site XML backup.

4. Do a selective import of the DEMO project into your main instance

Suggest an answer

Log in or Sign up to answer