@@ -857,7 +857,7 @@ func (s *IssueService) UpdateWithOptions(issue *Issue, opts *UpdateQueryOptions)
857
857
//
858
858
// Jira API docs: https://docs.atlassian.com/jira/REST/cloud/#api/2/issue-editIssue
859
859
func (s * IssueService ) UpdateWithContext (ctx context.Context , issue * Issue ) (* Issue , * Response , error ) {
860
- return s .UpdateWithOptions ( issue , nil )
860
+ return s .UpdateWithOptionsWithContext ( ctx , issue , nil )
861
861
}
862
862
863
863
// Update wraps UpdateWithContext using the background context.
@@ -1119,7 +1119,7 @@ func (s *IssueService) SearchPagesWithContext(ctx context.Context, jql string, o
1119
1119
options .MaxResults = 50
1120
1120
}
1121
1121
1122
- issues , resp , err := s .Search ( jql , options )
1122
+ issues , resp , err := s .SearchWithContext ( ctx , jql , options )
1123
1123
if err != nil {
1124
1124
return err
1125
1125
}
@@ -1141,7 +1141,7 @@ func (s *IssueService) SearchPagesWithContext(ctx context.Context, jql string, o
1141
1141
}
1142
1142
1143
1143
options .StartAt += resp .MaxResults
1144
- issues , resp , err = s .Search ( jql , options )
1144
+ issues , resp , err = s .SearchWithContext ( ctx , jql , options )
1145
1145
if err != nil {
1146
1146
return err
1147
1147
}
0 commit comments