Package com.atlassian.jira.rest.v2.issue
Class Examples
java.lang.Object
com.atlassian.jira.rest.v2.issue.Examples
This class holds constants that are
- Since:
- v4.2
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic URI
Creates a new URI consisting of theJIRA_BASE_URL
followed by the passed-in path segments.static URI
Creates a new URI consisting of theREST_BASE_URL
followed by the passed-in path segments.
-
Field Details
-
JIRA_BASE_URL
The base URL for the example JIRA instance.- See Also:
-
REST_BASE_URL
The base URL for the REST API.- See Also:
-
-
Method Details
-
jiraURI
Creates a new URI consisting of theJIRA_BASE_URL
followed by the passed-in path segments.- Parameters:
pathSegments
- the path segments to append- Returns:
- a URI
- Throws:
IllegalArgumentException
- if the passed-in paths are not valid
-
restURI
Creates a new URI consisting of theREST_BASE_URL
followed by the passed-in path segments.- Parameters:
pathSegments
- the path segments to append- Returns:
- a URI
- Throws:
IllegalArgumentException
- if the passed-in paths are not valid
-