The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Ask help for coding a project on JAVA

laurent
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2020

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

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mehmet A _Bloompeak_
Atlassian Partner
August 21, 2020
laurent
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2020

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events