Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/scripts/redmine.coffee
View
11 src/scripts/redmine.coffee
@@ -1,14 +1,20 @@
-# Showing of redmine issuess via the REST API.
# (redmine|show) me <issue-id> - Show the issue status
# show (my|user's) issues - Show your issues or another user's issues
# assign <issue-id> to <user-first-name> ["notes"] - Assign the issue to the user (searches login or firstname)
# *With optional notes
# update <issue-id> with "<note>" - Adds a note to the issue
# add <hours> hours to <issue-id> ["comments"] - Adds hours to the issue with the optional comments
+# link me <issue-id> - Returns a link to the redmine issue
+# set <issue-id> to <int>% ["comments"] - Updates an issue and sets the percent done
+#
#
# Note: <issue-id> can be formatted in the following ways:
# 1234, #1234, issue 1234, issue #1234
#
+#---
+#
+# Showing of redmine issuess via the REST API.
+#
# To get set up refer to the guide http://www.redmine.org/projects/redmine/wiki/Rest_api#Authentication
# After that, heroku needs the following config
#
@@ -142,7 +148,8 @@ module.exports = (robot) ->
attributes =
"project_id": "#{project_id}"
"subject": "#{subject}"
- if tracker_id != undefined
+
+ if tracker_id?
attributes =
"project_id": "#{project_id}"
"subject": "#{subject}"

No commit comments for this range

Something went wrong with that request. Please try again.