The following tutorial if about using QCObjects and Jira together.
It is always needed to track our development tasks and sometimes it is hard to do it day by day just because the activity of reviewing the issues is not easy enough.
QCObjects has a built-in integration with Jira that is helping developers to review the pending task issues straight from the shell terminal. So you can stop checking out the jira project's website everytime you need to know what is pending to be coded.
To work with this integration you need a Jira account. You can make one here
Once you have a Jira account, you can login to your account and create a new project
Login to Jira here
Before you start to use the QCObjects Jira Built-In integration, you need to setup some environment variables
> export JIRA_USERNAME=<your user name>> export JIRA_TOKEN=<your user token>NOTE: You need to use a user token, to create one just go to https://id.atlassian.com/manage/api-tokens
export JIRA_PROJECT=<project key>If you have a config.json you need to add the following, otherwise if you don't have a config.json file you need to create one and add the following:
{
"devmode": "debug",
"domain":"<your domain name or localhost>",
"jira": {
"domain": "$ENV(JIRA_DOMAIN)",
"username": "$ENV(JIRA_USERNAME)",
"auth_token": "$ENV(JIRA_TOKEN)",
"project": "$ENV(JIRA_PROJECT)"
}
}Once you have created or edited your config.json file, and set up the environment variables, everytime you need to check out what is pending in Jira, you don't need to go through the Jira website anymore, you can now view the pending issues from the CLI using the following easy single line:
> qcobjects jira issuesEnjoy!