Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

clazzes.org's python3 jira-client is a python Command Line Interface(CLI) tool which can create and read issues for projects. It can be heavily customized with config files and supports both Basic Authentication and OAuth 1.0a.


Supported Commands:

Command

Positional(Required)

Parameters

Optional

Parameters

DescriptionRequired Permissions
listissues 
  1. project: The project's identifier in Jira


Browsing
createissue
  1. project: The identifier of the project to add the issue to.
  2. summary: Headline of the issue to be created. Put in quotation marks if it contains spaces.
  3. desc: Description of the issue to be created.
  4. issuetype: How the issue should be categorized. Examples are bug, task, feature, subtask,...
  5. priority: Number from 1-5 where 1 is a Blocker and 5 is Trivial.

 --assignee: The username of the requested assignee, if one should be immediately assigned.

--parent: The identifier of the parent issue. Only required if you create a subtask.


Browsing

Issue Creation

initconfigNone

--conffile: Absolute path to the file where the config values should be saved/overwritten. If it doesn't exist, attempt to create it there.

Any of username, password, oAuthToken, consumerKey, consumerSecret, oAuthSecretToken, authMethod, privateKeyLocation, baseurl that should be saved in the config file


None
createoauthNone

--consumerkey: The name of the OAuth public key as configured on the Jira Server. Specify to use a different one than the config file has.

--consumersecret: The OAuth secret as configured on the Jira Server.Specify to use a different one than the config file has.


None






Example Command Usage

listissues

Required: Authentication to a user who has browsing rights for this Jira Server.


jira-client listissues EXAMPLEPROJECTNAME

Output:


createissue


initconfig


createoauth

  • No labels