Create a component via POST.
Forge and OAuth2 apps cannot access this REST resource.
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
Forge and OAuth2 apps cannot access this REST resource.
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.
Forge and OAuth2 apps cannot access this REST resource.
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.
Forge and OAuth2 apps cannot access this REST resource.
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.
Forge and OAuth2 apps cannot access this REST resource.
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.
Forge and OAuth2 apps cannot access this REST resource.
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: