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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
Bug.pm
Bugzilla/WebService/Bug.pm
+9
-1
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
)
{
...
...
@@ -2434,6 +2435,11 @@ 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.
item C<new_since>
C<dateTime> If specified, the method will only return changes I<newer>
than this time.
=back
=item B<Returns>
...
...
@@ -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