Create a component via POST.
the request containing value of the component's property. The value has to be a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.
boolean
string
boolean
string
string
UserBean
string
string
string
string
Returned if the component is created successfully.
1
2
3
4
5
curl --request POST \
--url 'http://{baseurl}/rest/api/2/component' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Returns paginated list of filtered active components
string
string
string
string
Returns paginated list of components
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/component/page' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Returns a project component.
string
RequiredReturns a full JSON representation of a project component.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/component/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Modify a component via PUT. Any fields present in the PUT will override existing values. As a convenience, if a field is not present, it is silently ignored.
string
Requiredthe request containing value of the component's property. The value has to be a valid, non-empty JSON conforming to http://tools.ietf.org/html/rfc4627. The maximum length of the property value is 32768 bytes.
boolean
string
boolean
string
string
UserBean
string
string
string
string
Returned if the component is successfully updated.
1
2
3
4
5
curl --request PUT \
--url 'http://{baseurl}/rest/api/2/component/{id}' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json'
Delete a project component.
string
Requiredstring
Returned if the component is successfully deleted.
1
2
3
curl --request DELETE \
--url 'http://{baseurl}/rest/api/2/component/{id}' \
--user 'email@example.com:<api_token>'
Returns counts of issues related to this component.
string
RequiredReturns counts of issues related to this component.
1
2
3
4
curl --request GET \
--url 'http://{baseurl}/rest/api/2/component/{id}/relatedIssueCounts' \
--user 'email@example.com:<api_token>' \
--header 'Accept: application/json'
Rate this page: