ISSUETRACKER
Description
Gets, updates, or finds the issue status in the specified issue tracker.
Usage
cm issuetracker <name> status get <task_id> <parameter>[ ...]
cm issuetracker <name> status update <task_id> <status> <parameter>[ ...]
cm issuetracker <name> status find <status> <parameter>[ ...]
cm issuetracker <name> connection check <parameter>[ ...]
Option / Argument | Description |
---|---|
name | Name of the issue tracker to connect with. Only Jira is supported at the moment. |
task_id | Number of the issue to query or update. |
status | A valid status for an issue in the issue tracker. |
Jira parameters (all are mandatory)
Option / Argument | Description |
---|---|
--user=<user> | The user to authenticate. |
--password=<password> | The password to authenticate. |
--host=<url> | The target url of the issue tracker. |
--projectkey=<key> | The project key of Jira project. |
Help
Examples
cm issuetracker jira status get 11 --user=user@mail.es --password=pwd --host=https://user.atlassian.net --projectkey=PRJ
(Gets the status of the issue 11 for the 'PRJ' project.)
cm issuetracker jira status update 11 "Done" --user=user@mail.es --password=pwd --host=https://user.atlassian.net --projectkey=PRJ
(Updates the status to 'Done' of the issue 11 for the 'PRJ' project.)
cm issuetracker jira status find "Done" --user=user@mail.es --password=pwd --host=https://user.atlassian.net --projectkey=PRJ
(Gets the task ids whose status is set to 'Done' for the 'PRJ' project.)
cm issuetracker jira connection check --user=user@mail.es --password=pwd --host=https://user.atlassian.net --projectkey=PRJ
(Checks whether the configuration parameters are valid or not.)