trineo/jira-ruby — pull request #12 by pmorton (2012-03-31 16:32:32+00:00)
Title: Add Support for changelogs

I have added support for viewing the change logs. The approach that i took was to decorate the issues class with a function that will get an expanded copy of the issue and use it to build a Changelog object. I thought about making this into a relation, but there are a couple of issues.

The changelog is not part of the default view. In order to add it to the view you have to tell the API to _expand_ the the node. This works perfectly on the issues API, but does not work on the search API. There is an open bug ( https://jira.atlassian.com/browse/JRA-27731) to see if I can get jira to address the issue.

Secondly, The change log is data that you do not _generally_ want on your request by default. It seems to me that you would need a more specialized use case for change logs. As such I think that we should only load change logs when needed.

Thoughts?