I needed a way to display issues from our JIRA issue tracker inside of Drupal. (http://www.atlassian.com/software/jira/). There were no existing modules that did this that I could find, so I decided to write my own. The module copies issues from JIRA and creates Drupal nodes, one for each issue imported. It is intended as a read-only way to display the current status of JIRA issues. Each time the import runs (via cron) all existing issue nodes in Drupal are deleted, and new nodes are created.
After finishing it, I realized that it would probably be helpful to other people. I posted in the module development ideas group (http://groups.drupal.org/node/58388) asking if anyone had heard of this, or would be interested in it, and have received a lot of interest. After many months of wrangling with my University's office of technology transfer, I finally have the OK to share this under GPL, so here it is!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jira_issues.tgz | 3.57 KB | MarkFischer |
Comments
Comment #1
MarkFischer commentedHere's the module!
Comment #2
avpadernoHello, and thank you for applying for a CVS account.
As per requirements, the motivation should include more than 2 sentences of module features, and a comparison with the existing solutions.
Comment #3
MarkFischer commentedThe JIRA Issues module allows for basic importing of JIRA issues into Drupal nodes. The module will fetch all issues from a given JIRA filter, and insert them as nodes into Drupal. As normal Drupal nodes, you can now leverage the full power of Drupal to display, sort, and group these nodes, and present a customized, integrated view for your users. The module creates a new content type - jira_issue. When Drupal's cron runs, all existing jira_issue nodes are deleted, and new ones are added from JIRA.
Fields are mapped from JIRA -> Drupal as follows:
Additional CCK fields can be mapped to various JIRA fields by customizing a hook function. Examples of several potential mappings are given.
Comment #4
MarkFischer commentedcomparison with the existing solutions
It looks like there is one other developer working on a similar module, however he has not released his code. http://drupal.org/node/881040 In fact he references my group post, as well as http://mosaic.arizona.edu/jira/open which is the site that I built this module for originally.
The only other JIRA module I was able to find provides authentication integration, using JIRA as the user authentication source, but does not do anything with issue/node integration.
Comment #5
joachim commentedCould this be done in a more flexible way as a Feeds plugin?
Comment #6
MarkFischer commentedCould this be done in a more flexible way as a Feeds plugin?
I had not thought to write it in such a away. Its quite possible that it would be more flexible as a Feeds plugin. At this point I don't have any plans to rewrite it for Feeds, especially not for 6.x. When I need to upgrade this module for 7 it would certainly make sense to look at that path. Right now the module is finished, and I was just hoping to share it with others.
Comment #7
wfx commentedThanks for sharing this with the community!
Comment #8
zzolo commentedHi. Please read all the following and the links provided as this is very important information about your CVS Application:
Drupal.org has moved from CVS to Git! This is a very significant change for the Drupal community and for your application. Please read the following documentation on how this affects and benefits you and the application process:
Migrating from CVS Applications to (Git) Full Project Applications
Comment #9
Ari Gold commentedHi MarkFischer,
Are you planning on moving this application forward?
Comment #10
avpadernoThe OP didn't give any feedback on this. I am closing this application.
Comment #11
avpaderno