Jira Counter Web

Setup Jira Developer Account

Login to your Atlassian Developer Account and head to your Jira Apps



Click Create button and choose OAuth 2.0 Integration

image



Fill the app name and tick the requirment checkbox

image



Go to Permissions section and add Jira Api

image



Configure and edit the scoope of Jira platform REST API, then tick for View Jira issue data and save it

image



Head to Authorization section and fill the callback with your domain

image



Go to Distribution section, change the distribution status to sharing with fill the requirments below

image



Go to setting section and copy your client id and client secret

image



Add your client id and client secret to your enviroment variable or export it to your .bashrc if you are using bash, use JIRA_CLIENT_ID and JIRA_SECRET as the variable name

Run the project

You can run the project by execute flutter run web --dart-define=JIRA_CLIENT_ID=$JIRA_CLIENT_ID --dart-define=JIRA_SECRET=$JIRA_SECRET to your terminal or cmd

Build and deploy

Run flutter build web --release --dart-define=JIRA_CLIENT_ID=$JIRA_CLIENT_ID --dart-define=JIRA_SECRET=$JIRA_SECRET and wait patiently for it to be finished

Then you can deploy build/web folder to your hosting