Redmine operation from vim
Vim script
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
plugin
README
README.ja

README

Introduction
=============

 You can look over the information on redmine with vim. 


Function
=============

 1. Display ticket and display outline of ticket on Redmine with vim.
 2. It is possible to jump to URL of the ticket. 



Requirement
=============

 1. webapi.vim
 2. Redmine version >= 1.0.x
 3. enable Redmine REST API



installation
=============

1. Install webapi.vim

2. edit ~/.vimrc
let g:redmine_auth_site = 'http://localhost:3000'
let g:redmine_auth_key  = 'secret'
let g:redmine_author_id = '5'
let g:redmine_project_id = '1'



Command
========

* RedmineViewTicket <issue_id>
 a ticket is displayed. 

* RedmineViewAllTicket
 All tickets are displayed.

* RedmineViewAssignedTicket
 Assigned ticket is displayed. (required g:redmine_author_id)

* RedmineViewAssignedProjectTicket
 Assigned ticket is displayed. (required g:redmine_author_id)
 You can also specify Project_id. 

* RedmineViewMyTicket
 Report ticket is displayed. (required g:redmine_author_id)

* RedmineViewMyProjectTicket
 Report ticket is displayed. (required g:redmine_author_id)
 You can also specify Project_id. 

* RedmineSearchTicket <condition>
 Search tickets.

* RedmineSearchProject <condition>
 Search project.

* RedmineEditTicket <issue_id> <edit_text>
 Edit Ticket.

* RedmineAddTicket <subject>
 Add Ticket.

* RedmineAddTicketWithDiscription <subject>
 Add Ticket with discription.

Global Variable
========

* redmine_auth_site
 Redmine URL

* redmine_auth_key
 Redmine API Key

* redmine_browser
 Launch browser

* redmine_author_id
 Assigned_id used in RedmineViewMyTicket/RedmineViewMyProjectTicket.

* redmine_project_id
 used in RedmineViewMyProjectTicket.
 This is not required. "MyProject" will be retrieved automatically if you don't specify project_id.

* redmine_project_id_remember
 If this variable is 1, remember projectId when add ticket.
 This is not required, default value is 1.

* redmine_temporary_dir
 Set temp directory.
 This is not required, default value is $HOME/.redmine-vim/

ChangeLog
========
2012-06-24 by kawaken
- add RedmineViewAssignedTicket and RedmineViewAssignedProjectTicket

2012-05-06 by vsushkov
- fix support new webapi

2012-02-19 by kakkyz (@kakkyz81)
- fix multibyte character problem
- Add RedmineAddTicket and RedmineAddTicketWithDiscription