The fields that can be set on create, in either the fields parameter or the update parameter can be determined using the /rest/api/2/issue/createmeta resource. If a field is not configured to appear on the create screen, then it will not be in the createmeta, and a field validation ...
fields=id,index,issueCount,$lastTestResult [{'index': 0, 'id': 205,'$lastTestResult': {'id': 904, 'assignedTo': 'JIRAUSER10504', 'userKey': 'JIRAUSER10504', 'testCase': {'name': 'rest-api-trial-1111', 'id': 1062, 'majorVersion': 1, 'projectId': 10302, 'folderId': 12...
The/rest/api/2/searchendpoint returns a full representation of the issues matching a JQL. The result contains all the values of any fields and (optionally) the HTML rendered values. If parameterexpandis set to torenderedFields(i.e.:/rest/api/2/issue/{issueIdOrKey}?expand=renderedFields), ...
Main APIs URLMethodDescriptionRequest Parameter /rest/api/2/issuePOSTSingle Create issue查看代码 {"fields": {"project": {"key":"MyProject"},"summary":"[Test] Please ignore this issue","description":"[Test] Please ignore this issue. CC:[~san.zhang]","issuetype": {"name":"Story"},"a...
Example with context:http://myhost.com:8080/jira/rest/api/2.0.alpha1/project/JRA Example without context:http://myhost.com:8080/rest/api/2.0.alpha1/project/JRA In order to minimise network traffic from the client perspective, our API uses a technique called expansion. ...
In order to simplify API responses, the Jira REST API uses resource expansion. This means the API will only return parts of the resource when explicitly requested. You can use theexpandquery parameter to specify a comma-separated list of entities that you want expanded, identifying each of them...
https://docs.atlassian.com/software/jira/docs/api/REST/8.12.2/#api/2/search-search Searches for issues using JQL. Sortingthejqlparameter is a fullJQLexpression, and includes anORDER BYclause. Thefieldsparam (which can be specified multiple times) gives a comma-separated list of fields to inc...
The JSON.stringify function can be particularly useful when working with issue custom fields, which are always returned as JSON values in the same format as in the Get issue REST API.For example, if you are only interested whether the value of a custom field contains a certain string, you ...
·支持基本的GreenHopper REST API. ·弃用python-magic,加入imghdr, mimetypes ·Addedoptional filename parameter to add_p_w_upload ·Addedability to pass a verify parameter to the requests session. ·search_issues and dashboards now returna ResultList which includes some search metadata.(查找issue ...
:rest_base_path => "/rest/api/2", :auth_type => :oauth_2legged, :consumer_key => "jira-ruby-example" } client = JIRA::Client.new(options) client.set_access_token("","") # Show all projects projects = client.Project.all