|
The JIRA Issue Navigator enables you to display your search results in XML format, suitable for use with the Confluence JIRA Issues Macro, for example. (Also suitable for use as an RSS 0.9.2 feed. Note: for an RSS 2.0 feed, please see 'Receiving Search Results via RSS'.) You can choose which fields to include in the XML output, as described below. Exporting to XMLTo display your search results in XML format,
|
Choosing which fields to include
To restrict which issue fields are returned in the XML export, specify the field parameter in your URL. For example, to include only the Issue key and Summary, add &field=key&field=summary to the URL.
Note:
- If the
fieldparameter is not specified, the XML output will include all the issue fields. - If one or more
fieldparameters are specified, the XML output will contain only the Issue key plus your chosen field(s).
The complete list of available values for the field parameter is as follows:
Value |
Sample XML output |
Notes |
|---|---|---|
|
|
|
|
|
This is a 'permalink' to the issue. For links between issues, see * |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only relevant if the issue is a sub-task. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only relevant if a security level has been applied to the issue. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Only available if your administrator has enabled attachments. |
|
|
Only available if your administrator has enabled 'time-tracking'. |
|
|
Only available if your administrator has enabled 'time-tracking'. |
|
|
Only available if your administrator has enabled 'time-tracking'. |
|
|
(ie. aggregate time for the issue plus all of its sub-tasks.) Only available if your administrator has enabled 'time-tracking'. |
|
|
(ie. aggregate time for the issue plus all of its sub-tasks.) Only available if your administrator has enabled 'time-tracking'. |
|
|
(ie. aggregate time for the issue plus all of its sub-tasks.) Only available if your administrator has enabled 'time-tracking'. |
|
|
This is a convenient shorthand way of specifying all of the above six time-tracking fields. (Only available if your administrator has enabled 'time-tracking'. ) |
|
|
|
|
|
|
|
|
(where "xxxxx" is the id of a given custom field. E.g. this output is the result of specifying |
|
|
|
Accessing protected data
When accessing data generated from JIRA, you may find that access to some resources requires user authentication (i.e. requires you to login). There are three options for this:- To enable access to data without logging in, your JIRA administrator may specify the 'Browse' permission for Anyone.
- You can provide the parameters os_username and os_password in the request URL (e.g.
http://jira.atlassian.com/browse/TST-1?os_username=tester&os_password=tstpassword). The problem with this method is that it transmits your username and password across the wire in clear text, which may not be an option for some users. - You can provide the request parameter os_authType=basic (e.g.
http://mycompany.com/anypage?os_authType=basic). This will force the server to issue a challenge for user credentials (i.e. a login prompt) via the basic http authentication protocol. If you are running over SSL, you still need to specify the os_authType=basic parameter if you require the user to authenticate.







1 Comment
Hide/Show CommentsDec 19, 2011
Bob Lane
I am using the XML format to create a customized version for MS Word. I would like to imbed the attached objects into the word file. How do I access the attached documents? I am using VBA, but can access other libraries if necessary.
Add Comment