jira2taskade is a Python project that integrates with JIRA to fetch issues based on JQL queries.
To install the project dependencies, use Poetry:
poetry installCreate a configuration file config.json in the root directory of the project with the following structure:
{
"jira_email": "your-email@example.com",
"jira_token": "your-api-token",
"jql": "your-jql-query",
"taskade_token": "taskade-token"
}You can use the provided config_sample.json as a template.
To use the JiraConn class, import it and initialize it with the path to your configuration file:
from jira2taskade.jira_conn import JiraConn
config_file = "path/to/your/config.json"
jira_conn = JiraConn(config_file)
issues = jira_conn.get_issues()
for issue in issues:
print(issue)To run the tests, use pytest:
poetry run pytestCreate a config file at ~/.config/jira2taskade/config.json
Install the package using pipx:
poetry build
pipx install dist/jira2taskade-0.1.0-py3-none-any.whl
This project is licensed under the MIT License.