Hello all people ,
I am sorry for my english i am french and i begin on JIRA.
I have create a java app with spring boot and i added all dependency on my pom.xml .
My question is where can i find many examples on java for create a ticket , retrieve project,
modify issue etc....
Please help
thank you very much
Hi @laurent22_b ,
Atlassian provides sample projects in bitbucket.
https://bitbucket.org/atlassian/atlassian-connect-spring-boot-samples/src/master/
thank you very much for you answer but i saw the project bitbucket and i didn t find many example like this
final AsynchronousJiraRestClientFactory factory = new AsynchronousJiraRestClientFactory();
URI jiraServerUri = new URI("atlassian url");
final JiraRestClient restClient = factory.createWithBasicHttpAuthentication(jiraServerUri, "name",
"password");
System.out.println("display permissions" + restClient.getMyPermissionsRestClient().toString());
try {
IssueInput epicInput = new IssueInputBuilder()//
.setProjectKey("project key")//
.setIssueTypeId(id)//
.build();
restClient.getIssueClient().createIssue(epicInput).claim();
} catch (Exception e) {
e.printStackTrace();
} finally {
restClient.close();
}
this part of code from stackoverflow i search many examples as part of code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.