Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a couple more useful features (at least for me) #23

Closed
wants to merge 6 commits into from

Conversation

asfaltboy
Copy link

New commands

  • relations - show all external project links for a given project/version
  • changelog - generate a simple text list of issues for project/version grouped by type
  • release_notes - generates a rich issues list (markdown formatted) for a given project
    (or all) released on a specified date
  • latestrelease - get the latest version released for all projects (with link to release notes)

Other changes

  • support both REST/RPC versions of calls where applicable
    (REST form is more detailed and is required for some of the new commands above)
  • new option --timelog to issue command (see total time spent "In Progres")
  • new option --long to issue command (displays description)
  • new option --version to issues command (display only issues for specified fixVersion)
  • new column RELEASE DATE in versions command
  • new column ID in projects command

To do / things not working

  • Update work-log when transitioning issue (--time)

Hey @trentm I seem to have used my own master tree which includes both of my other Pull-Requests, would you have me separate the tree or will you consider merging them all?

Preface
=======

Many times organizations use internal jira servers which are secured by
configuring https access with a "self-signed" (or otherwise not publicly
verifiable) SSL certificate.

Currently, [an exception is raised](http://pastebin.com/DuhTNYDv) when
issuing a command to such a server.

This Pull-Request's main intent is to allow the user to set options
which customize SSL behavior; preferably by passing SSLContext where
possible (requests does not yet support it as of now, see
issue kennethreitz/requests#2118).

Change Details
==============

* passed directly to xmlrpclib.ServerProxy constructor
* requests only has partial support; `verify` bool option is passed
* SOAPpy: no change -> strangely works without raising SSLError
This will allow querying for the valid workflow states/transitions
on an issue and to change it (while updating fields).

Eventually resolve should probably move to use this method.
### New commands

* *relations* - show all external project links for a given project/version
* *changelog* - generate a simple text list of issues for project/version grouped by type
* *release_notes* - generates a rich issues list (markdown formatted) for a given project
    (or all) released on a specified date
* *latestrelease* - get the latest version released for all projects (with link to release notes)

### Other changes

* support both REST/RPC versions of calls where applicable
  (REST form is more detailed and is required for some of the new commands above)
* new option `--timelog` to `issue` command (see total time spent "In Progres")
* new option `--long` to `issue` command (displays description)
* new option `--version` to `issues` command (display only issues for specified `fixVersion`)
* new column `RELEASE DATE` in `versions` command
* new column `ID` in `projects` command

### To do / things not working

[ ] Update work-log when transitioning issue (`--time`)
previously an "AND" pre/suffix was added unnecessarily in some cases
* fix date comparison in release_notes
@trentm
Copy link
Owner

trentm commented Sep 25, 2020

@asfaltboy Sorry about this. Obviously this PR is ancient now. In the meantime jirash was re-written in node.js. lib/jirashell.py is dead code that I'm going to remove.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants