snowdrop / release-manager

Jira Java Client Tool
3 stars 6 forks source link

implement JIRA pat #161

Closed jacobdotcosta closed 1 year ago

jacobdotcosta commented 1 year ago

Implemented access to JIRA using a Personal Access Token as was the only way to be able to interact with the JIRA REST API.

NOTE: JIRA PAT is of mandatory use. For now I made the user and password optional but probably these could be removed.

NOTE 2: Deleting a Jira issue is no longer allowed so I updated the test to CLOSE the test issues.

jacobdotcosta commented 1 year ago

Using the JIRA PAT the tests now succeed in accessing JIRA!!!

[INFO] Results:
[INFO] 
[INFO] Tests run: 30, Failures: 0, Errors: 0, Skipped: 0
[INFO] 
[INFO] 
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ release-manager ---
[INFO] Building jar: /xxx/release-manager/target/release-manager-1.0.0-SNAPSHOT.jar
[INFO] 
[INFO] --- quarkus-maven-plugin:1.13.2.Final:build (default) @ release-manager ---
[INFO] [org.jboss.threads] JBoss Threads version 3.2.0.Final
[INFO] [io.quarkus.deployment.QuarkusAugmentor] Quarkus augmentation completed in 1457ms
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:03 min
[INFO] Finished at: 2023-03-14T15:01:50+01:00
[INFO] ------------------------------------------------------------------------