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
3cefbefe
Commit
3cefbefe
authored
Oct 27, 2010
by
Max Kanat-Alexander
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 602458: Add is_mandatory to Bug.fields output.
r=timello, a=mkanat
parent
9ebea154
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
Bug.pm
Bugzilla/WebService/Bug.pm
+9
-0
No files found.
Bugzilla/WebService/Bug.pm
View file @
3cefbefe
...
...
@@ -134,6 +134,7 @@ sub fields {
is_custom
=>
$self
->
type
(
'boolean'
,
$field
->
custom
),
name
=>
$self
->
type
(
'string'
,
$field
->
name
),
display_name
=>
$self
->
type
(
'string'
,
$field
->
description
),
is_mandatory
=>
$self
->
type
(
'boolean'
,
$field
->
is_mandatory
),
is_on_bug_entry
=>
$self
->
type
(
'boolean'
,
$field
->
enter_bug
),
visibility_field
=>
$self
->
type
(
'string'
,
$visibility_field
),
visibility_values
=>
...
...
@@ -1045,6 +1046,12 @@ across all Bugzilla installations.
C<string> The name of the field, as it is shown in the user interface.
=item C<is_mandatory>
C<boolean> True if the field must have a value when filing new bugs.
Also, mandatory fields cannot have their value cleared when updating
bugs.
=item C<is_on_bug_entry>
C<boolean> For custom fields, this is true if the field is shown when you
...
...
@@ -1150,6 +1157,8 @@ You specified an invalid field name or id.
=item Added in Bugzilla B<3.6>.
=item The C<is_mandatory> return value was added in Bugzilla B<4.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