This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] Help/Questions Adding Jira Issue Tracker to OpenHatch

Jacquie Flemming jacquelinehfl at gmail.com
Mon Dec 31 05:32:55 UTC 2012


Hello, 

I could use a little help trying to add Jira to OH. 

So far I have done the following:

1. Updated oh-mainline/mysite/customs/forms.py
2. Created 2 models: a tracker and a query model
3. Updated core_bugimporters.py

Here is the patch file:




4. Updated the db

Is it necessary to run syncdb and migrate? or only do south?

 ~/oh-mainline/manage.py schemamigration customs --auto
 ~/oh-mainline/manage.py migrate customs
 ~/oh-mainline/manage.py runserver
 ~/oh-mainline/manage.py  syncdb --noinput
 ~/oh-mainline/manage.py  migrate


Also I tried to run the following but I didn't see any change on the projects page:
~/oh-mainline/manage.py customs_daily_tasks

5.  Jira Tracker type is missing from my local running site on these pages:
- http://127.0.0.1:8000/+projedit/Spring  // Spring is project I tried to add
- http://127.0.0.1:8000/search/

I was working with URL: https://jira.springsource.org/issues/?jql=project%20%3D%20SPR

6. When I'm running I get all the way to the following page showing that I have successfully added the tracker, but
I don't know if I added it correctly.







References:
https://openhatch.org/wiki/Making_schema_changes
http://openhatch.readthedocs.org/en/latest/internals/index.html#bug-tracker-import-code

Thanks for reading, hope it's not too confusing. Thanks!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-adding-jira-tracker-to-OH.patch
Type: application/octet-stream
Size: 33800 bytes
Desc: not available
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-12-30 at 11.57.57 PM.png
Type: image/png
Size: 36534 bytes
Desc: not available
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0002.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-12-31 at 12.02.05 AM.png
Type: image/png
Size: 116536 bytes
Desc: not available
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0003.png>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openhatch.org/pipermail/devel/attachments/20121231/5e264549/attachment-0007.html>


More information about the Devel mailing list