class IssuesTemplate extends AbstractGithubTemplate implements IssuesOperations {

	@Override
	public Issue createIssue(IssueRequest issueRequest, String owner, String repo) {
		Map<String, Object> uriVariables = new HashMap<>();
		uriVariables.put("owner", owner);
		uriVariables.put("repo", repo);

		URI uri = new UriTemplate(buildUriString("/repos/{owner}/{repo}/issues")).expand(uriVariables);
		RequestEntity<IssueRequest> entity = RequestEntity.post(uri).contentType(MediaType.APPLICATION_JSON)
				.body(issueRequest);

		ResponseEntity<Issue> responseEntity = getRestOperations().exchange(entity, Issue.class);
		return responseEntity.getBody();
	}

	public  IssuesTemplate(RestOperations restOperations);
	public  IssuesTemplate(RestOperations restOperations, GithubApiUriUtil githubApiUriUtil);

}