This extension contains functions for embeding bug information from Jira bug tracker Related Links: Extension Overview, DekiScript Overview, Extension Demos.
Assembly: mindtouch.deki.services
SID: http://services.mindtouch.com/deki/draft/2008/02/jira
This service requires Deki Wiki 1.9.0 or later.
To enable this extension, follow these steps:
Configuration:
Before the Jira service can be used, it must be configured.
| Config Key | Description |
| jira-uri | URI to your jira installation. This URI + /rpc/soap/jirasoapservice-v2 needs to exist. Be sure that the RPC + SOAP plugin is enabled. |
| username | A Jira username that has view access to your projects of interest |
| password | Password for the Jira account |
Functions:
Embed a link to a Jira bug report. A summary of the bug is shown when hovering over the link. The link is crossed out when the bug is closed or resolved.
Parameters:
| Name | Type | Description |
| id | int | The bug number to link to |
Samples:
| Output | ||
|
Create a table listing of bugs from a given predefined filter
Parameters:
| Name | Type | Description |
| filter | string | filter name |
Samples:
| Output | ||
|
Create a table listing of bugs from a full text search
Parameters:
| Name | Type | Description |
| query | string | Search query |
Samples:
| Output | ||
|
Get the number of bugs returned by a filter
Parameters:
| Name | Type | Description |
| filter | string | filter name |
Samples:
| Output | ||
| 101 |
| Revision | Date | Author | Message |
|---|---|---|---|
| r10389 | 9/2/2008 8:33:44 PM | maximm | Deki API - JiraService * Prefixed Jira with Atlassian |
| r9936 | 8/12/2008 8:02:23 PM | maximm | Deki Service - Jira * If a filter name isn't found, the list is refetched while bypassing the cache BUGFIX 4722: Jira Extension fails to find new filters BUGFIX 4621: Jira extenion functions that use a filter do not work |
| r9748 | 8/1/2008 10:41:58 PM | steveb | Deki (trunk): DekiServices: * updated service-type in service blueprint (passive attribute that's not yet used anyway) |
| r9727 | 7/31/2008 7:11:51 PM | steveb | Deki (trunk): Services/Scripts`: * iframe.xml: new script added * updated all services/scripts to point their help URI to wiki.developer.mindtouch.com (instead of opengarden) |
| r8820 | 5/31/2008 4:07:18 PM | steveb | Deki Wiki (trunk): * redist: updated redistributable files * misc: * updated all occurrences of 'MindTouch Deki Wiki' to 'MindTouch Deki' * extended all copyright notices to 2008 |
| r8763 | 5/29/2008 6:06:42 PM | steveb | Deki Wiki (trunk): * misc: removed an extra space from the default copyright notice Tools: * DekiExt.php: added 'protocol' attribute to <uri> element * GoogleAppEngine: added sample application |
| r8489 | 5/9/2008 6:38:11 PM | maximm | Deki Jira Service * Added service config setting: jira-session-timeout-mins to force refreshing of session token after given length of time. (default 30) BUGFIX 3615: Jira extension: time out error about 60 minutes after initial use |
| r8192 | 4/21/2008 5:13:40 AM | steveb | DekiWiki (trunk): * updated DekiScript binary * MISC: updated all relevant SIDs to new shorter format (e.g. sid://mindtouch.com/2006/11/dekiwiki) (NOTE: old SIDS are preserved for backwards compatibility) * DekiXmlParser: evaluate attributes which have their value enclosed in double-curly braces |
| r7688 | 3/14/2008 8:37:52 PM | maximm | Deki JiraService MantisService SubversionService TracService * Updated div css classes |
| r7496 | 2/29/2008 12:44:35 AM | maximm | Deki Extensions Trac, Jira, Mantis, Subversion: * Added links to documentation |
| r7495 | 2/29/2008 12:36:40 AM | maximm | Deki Extensions: Jira, Mantis, Trac Jira: * Fixed jira.count to return a plain integer Trac * Fixed trac.count to return a plain integer Mantis: * Added mantis.count * Added CSS styling and fixed tags * Fixed duplicate bug listing issue (starting at page 1 instead of 0) * Defaulted to top 20 bugs which is same as a batch size |
| r7442 | 2/27/2008 1:55:55 AM | maximm | added missing file |
Function 'jira.tablesearch' failed with response
Error: NameResolutionFailure
Any ideas?
Thanks.
Another work around. This is for all of you like me who have to keep your timeout. You can add an api call to crontab to refresh every 30 minutes to refresh the service via curl, as follows:
00,30 * * * * root curl -d @{Jira Service ID}.xml -H "Content-type: text/xml" --cookie authtoken="{Token ID}" http://{Wiki Address}/@api/deki/site/services/{Jira Service ID}
You can find your jira service id by typing "http://{Wiki Address}/@api/deki/site/services" in your browser, obviously replacing {Wiki Address} with your server address and look for Jira.
You can find your "{Token ID}" by looking at your cookies. There is a cookie called authtoken and you can use the id in that to authenticate.
Try pinging the jira server using the name. If it can't find it, this is most likely your issuse.