Git Product home page Git Product logo

org-jira's Introduction

Just a heads up, the development version of spacemacs appears to have org-jira support: http://develop.spacemacs.org/layers/+emacs/org/README.html#jira-support

org-jira Spacemacs layer

This Spacemacs layer allows using Jira from within org-mode. This uses the JIRA REST API; if you need support for the deprecated JIRA SOAP API, check out the soap-api branch.

Installation

  • Clone the git repository somewhere and add it as a private layer in spacemacs
git clone [email protected]:jfim/org-jira.git
ln -s "`pwd`/org-jira" ~/.emacs.d/private/org-jira
(setq jiralib-url "https://example:443")
  • Configure the directory in which org-jira will create org files. You probably want to add it to your agenda files as well, so that org-agenda can show your jira tickets as part of your todo list. org-jira will create one file per Jira project in this directory. For example, if you're assigned projects FOO and BAR, it'll create FOO.org and BAR.org in this directory, each containing the tickets assigned to you.
(setq org-jira-working-dir "~/org-jira")
(setq org-agenda-files '("~/org" "~/org-jira"))

Get started

  • Open a random org file, it doesn't matter which one.
  • Press , j i g ('org-jira-get-issues) to retrieve all Jira tickets assigned to you. It'll ask for a login and password. This will create org files in the org-jira-working-dir previously configured.
  • Start working on a Jira ticket by opening the relevant org file, moving your cursor onto a Jira ticket and then pressing , j i w ('org-jira-progress-issue)
  • Comment on a ticket by adding :
** Comment:
This is a comment on this ticket.

You'll then need to synchronize the comment with , j c u ('org-jira-update-comment)

  • You can change the ticket priority by editing the :priority: value in the :PROPERTIES: drawer and syncing it with , j i u ('org-jira-update-issue)
  • To get the latest updates on a ticket, you can refresh it by pressing , j i r ('org-jira-refresh-issue)
  • You can also view the current ticket in your browser by pressing , j i b ('org-jira-browse-issue)
  • Finally, when you're done with the ticket, you can close it by doing , j i w ('org-jira-progress-issue) and selecting Close issue. You may need to hit backspace if the autocompletion suggestion is hiding the close option.

Usage

When in org-mode:

  • , j p g 'org-jira-get-projects
  • , j i b 'org-jira-browse-issue
  • , j i g 'org-jira-get-issues
  • , j i h 'org-jira-get-issues-headonly
  • , j i f 'org-jira-get-issues-from-filter-headonly
  • , j i F 'org-jira-get-issues-from-filter
  • , j i u 'org-jira-update-issue
  • , j i w 'org-jira-progress-issue
  • , j i r 'org-jira-refresh-issue
  • , j i c 'org-jira-create-issue
  • , j i k 'org-jira-copy-current-issue-key
  • , j s c 'org-jira-create-subtask
  • , j s g 'org-jira-get-subtasks
  • , j c u 'org-jira-update-comment
  • , j t j 'org-jira-todo-to-jira

org-jira's People

Contributors

jfim avatar pmilosev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

org-jira's Issues

Is this still working?

Hey just wanted to check the status of this because I really would love to have it.
And what about spacemacs integration?

`run-hooks` throws an error when switching to org-mode

This is an issue that has been bugging me all week, and I'm fairly new to Emacs/Spacemacs, so that might be the problem. I've installed this repo as a private layer, and it worked perfectly at first. However, sometime between installing it and now, anytime I switch to an Org buffer (like when activating the agenda or capture features) I get this error: run-hooks: Symbol’s value as variable is void: org-mouse-features, then either my command aborts or org-jira functions don't load.

Is there a workaround that I don't know about? Do you need more info from me to diagnose this problem? I'm willing to fork and fix, but I'll need some direction.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.