Showcase of how to consume the Jira Server REST Api with Spring.
Configure credentials and the API base path in a application.properties
file.
jira.client.username=
jira.client.password=
jira.client.url=
mvn clean package
- The
JiraClient
usesRestTemplate
. - The
JiraFeignClient
usesOpenFeign
.
Both Clients provide a searchIssues()
method that queries the configured Jira instance
for all Issues with status New
in the project MyProject
.