{ "info": { "author": "Todd Wells", "author_email": "todd@wells.ws", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "jira-issue\n================\n\nThis script allows users to quickly create Jira issues from the command line. The script is python3 based and uses the [jira-python](https://github.com/pycontribs/jira). The goal is to minimize the effor needed to put in simple Jira issues.\n\nIf prerequisites are not automatically installed, run: `sudo pip3 install jira python-editor`\n\nConfiguration\n=====\nThe configuration is stored in ~/.jira_config. This file uses `ini` format with a DEFAULT section for items like the Jira credentials and custom sections that can be used to create templates that can be easily called. When a custom section is called, the DEFAULT is merged with the custom section and custom section items override DEFAULT. Here are the common fields for the configuration file:\n\nusername, token, server = Data needed to connect to github. Go to https://id.atlassian.com/manage/api-tokens to create a token.
\n\nassignee = github assignee ID
\nboard = Board name to add this issue to ( or use board_id ).
\nboard_id = Scrum board to add this issue to ( or use board).
\nissue = issue key to process ( leave blank to create a new issue).
\nkey = the key for the project that issues will be created in.
\ntype = Issue type to create.
\nlabels = labels to assign. Labels can be in comma or space separated format. Labels can not contain spaces or commas.
\nclose = Close the issue?
\nwork = Time Spent string for the amount of work done (Examples: 30m, 1h ).
\n\n**Custom Fields**
\nCustom fields can be mapped to an alias name for more readable configuration. The following examples maps customfile_11135 to the alias `squad` and then assigns it the value of `Alpha`.\n\n customfield_11135 = {\"alias\":\"squad\",\"type\":\"list\"}\n squad = Alpha\n\nCustom Field Notes
\n* Custom fields can only be configured in the DEFAULT section. \n* An alias can be specified in any section\n* A custom field can be configured but not used ( i.e. an the alias field not specified). In this case, the custom field will not be set\n* By default custom fields are of type text. Currently the only other option is a list. Use comma or space separation between list items\n\nUsage\n=====\nThese examples are based on the jira_config.example file. The title field does not need to be quoted. This means that if you update an existing ticket that the title field has to be sent, but will be ignored.\n\nCreate an *Ops Request* and close it with 1.5 hours worked
\n```jira-issue -u opsc -w 1.5h More evidence needed for soc2```\n\nCreate a *Support* request with the tag ProdSupport and 30 minutes worked
\n```jira-issue -u ps -w 30m Investigate deploy failure on core-api-prod-1a```\n\nUpdate the issue DC-1788 with hours
\n``` jira-issue -w 30m -i DC-1788 x ```\n\nUpdate the issue DC-1788 with hours and close
\n``` jira-issue -w 30m -c -i DC-1788 x ```\n\n\n\n\n\n\n\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/twellspring/jira-issue", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "jira-issue", "package_url": "https://pypi.org/project/jira-issue/", "platform": "", "project_url": "https://pypi.org/project/jira-issue/", "project_urls": { "Homepage": "https://github.com/twellspring/jira-issue" }, "release_url": "https://pypi.org/project/jira-issue/0.0.4/", "requires_dist": [ "jira", "python-editor (>=1.0.3)" ], "requires_python": "", "summary": "Quickly create jira issues from the command line", "version": "0.0.4" }, "last_serial": 3917614, "releases": { "0.0.3": [ { "comment_text": "", "digests": { "md5": "d8cb98c7ab4426a927fc925a7c43c1f8", "sha256": "2d64b71c30e200fa5ed7b6611ed0c9f6c5b5ca5071fc6e43eb8a8715aea6d7ea" }, "downloads": -1, "filename": "jira_issue-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d8cb98c7ab4426a927fc925a7c43c1f8", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5775, "upload_time": "2018-05-30T17:24:55", "url": "https://files.pythonhosted.org/packages/a9/7f/979c3da68090021bfb9e21a6ae4e8dfca74b3a628944458bcfd80625830a/jira_issue-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd7666ba4849811c74183ea010329ff4", "sha256": "5c4f3316c71d2d0abf46932893f23fae1243b052db4b00faaa902188eb8301ec" }, "downloads": -1, "filename": "jira-issue-0.0.3.tar.gz", "has_sig": false, "md5_digest": "bd7666ba4849811c74183ea010329ff4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5336, "upload_time": "2018-05-30T17:24:56", "url": "https://files.pythonhosted.org/packages/64/a2/f8b9336b21bbc042a6a66aa47ff2960710264150688b43890f5ab9f4ab64/jira-issue-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "50673264aca69d9f8367f5e4c5308df6", "sha256": "4ffafa6ae67df6fd3942bda87cf439b4e40f77cd4b3af6b6ec78ce12dc4dde4a" }, "downloads": -1, "filename": "jira_issue-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "50673264aca69d9f8367f5e4c5308df6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5821, "upload_time": "2018-05-31T16:03:50", "url": "https://files.pythonhosted.org/packages/01/42/06755f4266e699b3916b3e24f3f942f58c15bdc79bb26cab10ebe58f08dd/jira_issue-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80cb896db2f4b9fc688c783152334dd0", "sha256": "12c2c1af4b97d439aff32e2314a6b8db9d7eb01427ed1658bd5f8eeb5de3693a" }, "downloads": -1, "filename": "jira-issue-0.0.4.tar.gz", "has_sig": false, "md5_digest": "80cb896db2f4b9fc688c783152334dd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5378, "upload_time": "2018-05-31T16:03:51", "url": "https://files.pythonhosted.org/packages/9c/f5/c0276b2ec3cd409001ec5ef3ed9a4edaa02a176408bbc48c8320143859d3/jira-issue-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "50673264aca69d9f8367f5e4c5308df6", "sha256": "4ffafa6ae67df6fd3942bda87cf439b4e40f77cd4b3af6b6ec78ce12dc4dde4a" }, "downloads": -1, "filename": "jira_issue-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "50673264aca69d9f8367f5e4c5308df6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5821, "upload_time": "2018-05-31T16:03:50", "url": "https://files.pythonhosted.org/packages/01/42/06755f4266e699b3916b3e24f3f942f58c15bdc79bb26cab10ebe58f08dd/jira_issue-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "80cb896db2f4b9fc688c783152334dd0", "sha256": "12c2c1af4b97d439aff32e2314a6b8db9d7eb01427ed1658bd5f8eeb5de3693a" }, "downloads": -1, "filename": "jira-issue-0.0.4.tar.gz", "has_sig": false, "md5_digest": "80cb896db2f4b9fc688c783152334dd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5378, "upload_time": "2018-05-31T16:03:51", "url": "https://files.pythonhosted.org/packages/9c/f5/c0276b2ec3cd409001ec5ef3ed9a4edaa02a176408bbc48c8320143859d3/jira-issue-0.0.4.tar.gz" } ] }