From 2870dceef4b4175e24defd27bda745012369d0b9 Mon Sep 17 00:00:00 2001 From: Shaine Hatch Date: Sun, 10 May 2015 14:40:21 -0600 Subject: [PATCH 1/2] Enable create, update commands --- lib/commands.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/commands.js b/lib/commands.js index 5cb2ac2..c0bc163 100644 --- a/lib/commands.js +++ b/lib/commands.js @@ -12,12 +12,14 @@ // grunt.log.ok("JIRA version: " + version + " has been created."); // } // }); - // + // module.exports = { findissue: require('./command_findissue'), + createissue: require('./command_createissue'), + updateissue: require('./command_updateissue'), listfields: require('./command_listfields'), getuserissues: require('./command_getuserissues'), search: require('./command_search'), searchusers: require('./command_searchusers') -}; \ No newline at end of file +}; From f92106c1c0681e8deea9db8accc8153eb310bbe4 Mon Sep 17 00:00:00 2001 From: Shaine Hatch Date: Sun, 10 May 2015 16:02:09 -0600 Subject: [PATCH 2/2] Pass grunt into value-functions --- tasks/jira.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/jira.js b/tasks/jira.js index f2ba0a7..0248e26 100644 --- a/tasks/jira.js +++ b/tasks/jira.js @@ -43,7 +43,7 @@ module.exports = function (grunt) { value = defaultValue; } - return isFunction(value) ? value(taskManager.passValueOn) : value; + return isFunction(value) ? value(taskManager.passValueOn, grunt) : value; } };