Skip to content

Instantly share code, notes, and snippets.

@rmanalan
Created November 4, 2011 17:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save rmanalan/1339918 to your computer and use it in GitHub Desktop.
Save rmanalan/1339918 to your computer and use it in GitHub Desktop.
JIRA 5 Issue REST API
https://jira-instance.atlassian.com/<context optional>/rest/api/2/issue/XPR-614?fields=summary,description,project,reporter,assignee,status
{
"expand": "renderedFields,names,schema,editmeta",
"id": "19273",
"self": "https://extranet.atlassian.com/jira/rest/api/2/issue/XPR-614",
"key": "XPR-614",
"fields": {
"reporter": {
"self": "https://extranet.atlassian.com/jira/rest/api/2/user?username=jroper",
"name": "jroper",
"emailAddress": "jroper@atlassian.com",
"avatarUrls": {
"16x16": "https://extranet.atlassian.com/jira/secure/useravatar?size=small&ownerId=jroper&avatarId=10520",
"48x48": "https://extranet.atlassian.com/jira/secure/useravatar?ownerId=jroper&avatarId=10520"
},
"displayName": "James Roper",
"active": true
},
"summary": "hosted.bamboo.atlassian.com constantly outputting exceptions in the logs",
"project": {
"self": "https://extranet.atlassian.com/jira/rest/api/2/project/XPR",
"id": "10170",
"key": "XPR",
"name": "X-Product",
"avatarUrls": {
"16x16": "https://extranet.atlassian.com/jira/secure/projectavatar?size=small&pid=10170&avatarId=10029",
"48x48": "https://extranet.atlassian.com/jira/secure/projectavatar?pid=10170&avatarId=10029"
}
},
"status": {
"self": "https://extranet.atlassian.com/jira/rest/api/2/status/1",
"iconUrl": "https://extranet.atlassian.com/jira/images/icons/status_open.gif",
"name": "Open",
"id": "1"
},
"description": "The bamboo logs on hosted.bamboo.atlassian.com are being constantly written to with exceptions like the following:\r\n\r\n[noformat]\r\n@4000000048dc865a043579fc 2008-09-26 01:50:56,061 ERROR [BAM::Hosted::Agent] [BuildAgentControllerImpl] Unknown exception occurred on 'Hosted'. Build result may not have been saved correctly.\r\n@4000000048dc865a04357de4 org.springframework.jms.UncategorizedJmsException: Uncategorized exception occured during JMS processing; nested exception is javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Could load broker factory:java.io.IOException: Could not find factory class for resource: META-INF/services/org/apache/activemq/broker/broker; nested exception is java.io.IOException: Could load broker factory:java.io.IOException: Could not find factory class for resource: META-INF/services/org/apache/activemq/broker/broker\r\n@4000000048dc865a0435a10c Caused by:\r\n@4000000048dc865a0435a4f4 javax.jms.JMSException: Could not create Transport. Reason: java.io.IOException: Could load broker factory:java.io.IOException: Could not find factory class for resource: META-INF/services/org/apache/activemq/broker/broker\r\n[noformat]\r\n\r\nBy constantly, I mean at a rate greater than 5MB worth of logs per second, so that the logs are being rolled over and deleted before they can be read.",
"assignee": {
"self": "https://extranet.atlassian.com/jira/rest/api/2/user?username=jdumay",
"name": "jdumay",
"emailAddress": "jdumay@atlassian.com",
"avatarUrls": {
"16x16": "https://extranet.atlassian.com/jira/secure/useravatar?size=small&avatarId=10342",
"48x48": "https://extranet.atlassian.com/jira/secure/useravatar?avatarId=10342"
},
"displayName": "James Dumay",
"active": true
}
},
"transitions": "https://extranet.atlassian.com/jira/rest/api/2/issue/XPR-614/transitions",
"changelog": "TODO"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment