Before going forward with this, check if you have already followed this tutorial: Running Prime Cloud Locally
Configuring your local timesheet/time reports
-
Open the application on your favorite ide
-
Go to the folder public/js/app.js and press cmd + F and look for “renato-gregorio-local”
-
Change this string to your user that you have created before here http://go.atlassian.com/cloud-dev .
if (params.license === 'none') {
var tenantName = baseUrl.match(/https:\/\/(.+?)\./)[1]
if (['renato-gregorio-local', 'prime-timesheet-qa', 'timereports', 'avelytchenko'].indexOf(tenantName) >= 0) {
params.license = 'active'
}
}
Time Reports
-
Rename the current file atlassian-connect.json to atlassian-connect-v1.json
-
Download the atlassian-connect.json file below and add in the application root.
Error rendering macro 'view-file' : Cannot render content of attachment: atlassian-connect.json
3. Run on the cloud timesheet root the following command: npm start or node ./static.js
Timesheets
-
Only run the command on the cloudtimesheet folder: npm start or node ./static.js
After running the command
You will see the image below:
After seeing this, click on the link in red. This will redirect you to the following page
Click on the “Visit Site” and now you are ready. Just go to your jira site that you’ve created and go to your apps on manage apps and then click on “time reports” or “timesheets”.