Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
3d9a1253
Commit
3d9a1253
authored
Nov 06, 2013
by
Dave Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 934573 - Date range for Bug.history WebService API method
r/a=glob
parent
3e4bed23
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
Bug.pm
Bugzilla/WebService/Bug.pm
+10
-2
No files found.
Bugzilla/WebService/Bug.pm
View file @
3d9a1253
...
...
@@ -40,6 +40,7 @@ use constant PRODUCT_SPECIFIC_FIELDS => qw(version target_milestone component);
use
constant
DATE_FIELDS
=>
{
comments
=>
[
'new_since'
],
history
=>
[
'new_since'
],
search
=>
[
'last_change_time'
,
'creation_time'
],
};
...
...
@@ -400,7 +401,7 @@ sub history {
$bug_id
=
$bug
->
id
;
$item
{
id
}
=
$self
->
type
(
'int'
,
$bug_id
);
my
(
$activity
)
=
$bug
->
get_activity
;
my
(
$activity
)
=
$bug
->
get_activity
(
undef
,
$params
->
{
new_since
})
;
my
@history
;
foreach
my
$changeset
(
@$activity
)
{
...
...
@@ -2432,7 +2433,12 @@ An array of numbers and strings.
If an element in the array is entirely numeric, it represents a bug_id
from the Bugzilla database to fetch. If it contains any non-numeric
characters, it is considered to be a bug alias instead, and the data bug
with that alias will be loaded.
with that alias will be loaded.
item C<new_since>
C<dateTime> If specified, the method will only return changes I<newer>
than this time.
=back
...
...
@@ -2514,6 +2520,8 @@ names used by L<Bug.update|/"update"> for consistency.
=item REST API call added Bugzilla B<5.0>.
=item Added C<new_since> parameter if Bugzilla B<5.0>.
=back
=back
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment