Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/plaid/core/auth/auth.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {HttpClient} from '@angular/common/http';

@Injectable({ providedIn: 'root' })
export class AuthApi {
private myselfUrl = '/rest/api/2/myself';
private myselfUrl = '/rest/api/latest/myself';

constructor(private http: HttpClient) { }

Expand Down
4 changes: 2 additions & 2 deletions src/plaid/core/issue/issue.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import { SearchResults } from '../../model/search-results';

@Injectable({ providedIn: 'root' })
export class IssueApi {
private readonly getIssueUrl = '/rest/api/2/issue/{issueIdOrKey}';
private readonly searchUrl = '/rest/api/3/search/jql';
private readonly getIssueUrl = '/rest/api/latest/issue/{issueIdOrKey}';
private readonly searchUrl = '/rest/api/latest/search/jql';

constructor(private http: HttpClient) { }

Expand Down
10 changes: 5 additions & 5 deletions src/plaid/core/worklog/worklog.api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import { DateRange } from '../../model/date-range';

@Injectable({ providedIn: 'root' })
export class WorklogApi {
private readonly searchUrl = '/rest/api/3/search/jql';
private readonly getWorklogsUrl = '/rest/api/2/issue/{issueIdOrKey}/worklog';
private readonly addWorklogUrl = '/rest/api/2/issue/{issueIdOrKey}/worklog';
private readonly updateWorklogUrl = '/rest/api/2/issue/{issueIdOrKey}/worklog/{id}';
private readonly deleteWorklogUrl = '/rest/api/2/issue/{issueIdOrKey}/worklog/{id}';
private readonly searchUrl = '/rest/api/latest/search/jql';
private readonly getWorklogsUrl = '/rest/api/latest/issue/{issueIdOrKey}/worklog';
private readonly addWorklogUrl = '/rest/api/latest/issue/{issueIdOrKey}/worklog';
private readonly updateWorklogUrl = '/rest/api/latest/issue/{issueIdOrKey}/worklog/{id}';
private readonly deleteWorklogUrl = '/rest/api/latest/issue/{issueIdOrKey}/worklog/{id}';

constructor(private http: HttpClient) { }

Expand Down