For Goose AI to be able to access Jira tickets you need an MCP Server. In this workflows we are using MCP server for Atlassian tools.
- Copy
env.templateto.envand update it as follows - Set your Gemini key in
GOOGLE_API_KEY(take it from Google Cloud -> API & Services -> Credentials -> API Keys -> show key) - Set your Jira Personal Token in
JIRA_PERSONAL_TOKEN(create PATs in your Jira/Confluence profile settings - usually under "Personal Access Tokens") - Change (if needed) the
JIRA_URLnow pointing athttps://issues.redhat.com/ - Set your Gitlab Personal Token
GITLAB_TOKENwith read permissions (read_user, read_repository, read_api). Note that some recipes require write access to Gitlab: use it at your own risk.
If you need to change the llm provider and model, they are stored in the Goose config file: goose-container/goose-config.yaml (GOOSE_PROVIDER, GOOSE_MODEL)
make build
Run the Jira MCP server from Atlassian and Goose separately, otherwise not all the input from your terminal is always redirected to the Goose container.
make run-mcp-atlassianmake run-goose- Type List all In Progress issues at https://issues.redhat.com/projects/LD and wait for the output.
make clean
You can further manually run test and run the Goose recipes which are mounted into the container at /home/goose/recipes.
The recipes are defined in goose-recipes/. If you want to run goose-recipes/<recipe>.yaml, run the following:
make <recipe>make clean
This project uses pre-commit hooks. To set up:
pip install pre-commit
pre-commit install