An automated, out-of-the-box solution to predict delivery dates in agile businesses. Useful for Project and Product Managers to forecast and report when a certain feature/project/milestone will be completed - and for Scrum Masters to understand when a team's backlog (or any set of issues determined from a JQL Query) will be done and how the team is progressing.
The forecasts are made via Monte Carlo Simulations to provide a more accurate accounting for risk. Accuracy and determinism of results is ensured by aggregating 1.000.000 simulations per forecast.
Built for Jira Integration, but it can be used without it.
5.2.2 Edit the environment file with the needed variables (paste them at the end of the file, one per line). If you don't want to fetch data from Jira, just export the Jira Variables as given below. If you've opted for OAuth, edit the jira_oauth_token and jira_oauth_token_secret variables (5.1.2). If you've opted for Basic authentication, edit the jira_email and jira_api_token variables. In both cases, edit the jira_url variable and DON'T edit the variables for the other case. Note that you need the SECRET_KEY variable set up properly (it is used internally by Django):
5.2.5 To verify that the variables are set up, run this for each of them:
echo $SECRET_KEY
5.3 Run the app on localhost:
python manage.py runserver
5.4 Test the app:
python manage.py test forecast
5.5 Test the app with code coverage:
coverage run --source='./forecast' --omit='./forecast/helperMethods/oauth/jira_oauth_script.py' manage.py test forecast
Followed by:
coverage report -m
6. Deploy the app with eb cli.
6.1 Follow steps 1-3. The EB CLI init steps you'll have to perform just at the time when you clone the repo:
6.2 Set EB environment variables. This has to be done for each new environment you make on AWS EB:
eb setenv SECRET_KEY=$SECRET_KEY JIRA_API_TOKEN=$JIRA_API_TOKEN JIRA_URL=$JIRA_URL JIRA_EMAIL=$JIRA_EMAIL JIRA_OAUTH_TOKEN=$JIRA_OAUTH_TOKEN JIRA_OAUTH_TOKEN_SECRET=$JIRA_OAUTH_TOKEN_SECRET
You can verify they were set in Elastic Beanstalk by running:
eb printenv
6.3 Deploy your local repository:
eb deploy
6.4 Access the website manually / from eb cli step 7: