Skip to content

Instantly share code, notes, and snippets.

@keerts
Created May 18, 2015 10:15
Show Gist options
  • Save keerts/c25121b001b753e2658c to your computer and use it in GitHub Desktop.
Save keerts/c25121b001b753e2658c to your computer and use it in GitHub Desktop.
user=> (import 'com.atlassian.jira.component.ComponentAccessor)
com.atlassian.jira.component.ComponentAccessor
user=> (def issue-manager (com.atlassian.jira.component.ComponentAccessor/getIssueManager))
#'user/issue-manager
user=> (.getIssue issue-manager "TEST-2")
{"summary" "Test2", "votes" 0, "fixfor" nil, "resolution" nil, "security" nil, "resolutiondate" nil, "type" "3", "timespent" nil, "creator" "admin", "id" 10001, "reporter" "admin", "updated" #inst "2015-04-30T17:09:01.105000000-00:00", "created" #inst "2015-04-30T17:09:01.105000000-00:00", "component" nil, "description" nil, "priority" "3", "duedate" nil, "watches" 1, "key" nil, "status" "10001", "assignee" "admin", "number" 2, "project" 10000, "environment" nil, "workflowId" 10001, "timeestimate" nil, "timeoriginalestimate" nil}
user=>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment