Tags:
create new tag
, view all tags

JIRA REST API Query

%SET{ response = %JIRAREST{ action="" command="" data="" user="" password="" }% }%
Query: Empty transparent 16x16 spacerEmpty transparent 16x16 spacer Example:
%SET{ response = %JIRAREST{
Empty transparent 16x16 spacerEmpty transparent 16x16 spacer
action=" "
command=" " /rest/api/2/issue/TEST-1
data=" " {"id":"10009"}
user=" "
   password="
"
See NOTE below
}% }%
Filter:   %GET{ }% response.content.fields.description
NOTE: This site is not secured with TLS (Transport Layer Security, "http:" protocol) - sending a JIRA password is not recommended.

Response of REST API Call:



HELP Help:

  • Use this form to interactively send REST (Representational state transfer) requests to the JIRA server.
  • The form asks for the action (REST method), command (REST API call), data (required for PUT and POST methods), user and password.
  • Omit the user and password if you want to use the default user and password specified in configure. Specifying the password is safe as long as the TWiki server enforces TLS.
  • See JIRA REST API Tutorials to get started.
  • See JIRA REST API documentation for details.
  • The resulting JSON response can be filtered with a JSON path using the SetGetPlugin (version 2015-03-27 or later required).

Related: JiraRestPlugin, VarJIRAREST

-- TWiki:Main.PeterThoeny - 2015-06-10

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2015-06-11 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.