WARNING: This is work in progress, don't trust to use this yet.
Use the following environment variables to configure clira, with the values for your corresponding setup:
export JIRA_HOST=http://localhost:8080
export JIRA_USER=admin
export JIRA_PASSWORD=admin
clira ls
clira get KEY-1
You'll need:
- Either minikube or docker-compose, and
- a MyAtlassian account, with either a valid license or the ability to get a new evaluation license for 90 days.
Clone the repo:
git clone https://github.com/ifosch/clira
cd clira
Ensure your minikube has, at least 3 cpus and >2048 Mb of memory:
minikube stop
minikube config set memory 4096
minikube config set cpus 3
minikube delete
minikube start
Once minikube has enough resources:
kubectl apply -f manifests/local-jira.yaml
Wait until the pod is finally running, and then you'll get your JIRA to be setup:
minikube service jira
This setup uses the port 8080 in your computer. Edit the docker-compose.yml file to change it.
If you prefer to use docker-compose:
cd manifests
docker-compose up
Finally, once the container is running fine, open a browser and point it to https://localhost:8008.
Go ahead with standard JIRA setup which will require you to provide a license from Atlassian, which can be for evaluation. Then you'll have to create a user account, and a project. Ensure to have a Scrum software project, with sprints
For testing, use go test ./...
in the root directory
For formatting, use your editor of choice, or run gofmt -w .
, in the root directory.
For running you can use go run main.go
.