Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/main/java/hudson/plugins/jira/JiraRestService.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/
package hudson.plugins.jira;

import static java.util.logging.Level.FINE;
import static java.util.logging.Level.INFO;
import static java.util.logging.Level.WARNING;

Expand Down Expand Up @@ -166,6 +167,7 @@
}

public Issue getIssue(String issueKey) {
LOGGER.log(FINE, "[Jira] Fetching issue {0}", issueKey);

Check warning on line 170 in src/main/java/hudson/plugins/jira/JiraRestService.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered line

Line 170 is not covered by tests
try {
return jiraRestClient.getIssueClient().getIssue(issueKey).get(timeout, TimeUnit.SECONDS);
} catch (Exception e) {
Expand Down Expand Up @@ -228,6 +230,7 @@
}

public List<Issue> getIssuesFromJqlSearch(String jqlSearch, Integer maxResults) throws TimeoutException {
LOGGER.log(FINE, "[Jira] Executing JQL: {0}", jqlSearch);
try {
Set<String> neededFields = new HashSet<>(
Arrays.asList("summary", "issuetype", "created", "updated", "project", "status", "fixVersions"));
Expand Down