One should assume that all operations on a Bug will create network traffic, unless specifically indicated they will not.
Properties reflect settings that will not cause network traffic, except for Resolution, while methods typically involves the server on the other end.
Currently there are no public constructors. You should get a Bug object from Server.GetBug or Server.GetBugs.
Definition at line 51 of file Bug.cs.
Experimental | |
Experimental methods require patches. | |
string | Resolution [set] |
Set the bug resolution. | |
void | AppendComment (string comment, bool?isPrivate, double?worktime) |
Append a comment to the bug. | |
void | AppendComment (string comment) |
Append a comment to the bug. | |
void | AppendComment (string comment, bool?isPrivate) |
Append a comment to the bug. | |
void | AppendComment (string comment, double?worktime) |
Append a comment to the bug. | |
Public Member Functions | |
General methods | |
void | Update () |
Update bug from server. | |
Properties | |
int | Id [get] |
Get the bug id number. | |
DateTime | Created [get] |
Get the time the bug was created. | |
DateTime | Changed [get] |
Get the time the bug was last changed. | |
string | Alias [get] |
Get the bug alias. | |
string | Summary [get] |
Get the bug summary. |
void Update | ( | ) | [inline] |
Update bug from server.
Get any changes to the bug from the server. This updates information such as the time/date of the last change to the bug, etc.
Definition at line 77 of file Bug.cs.
References GetBugsResult::bugs, IProxy::GetBugs(), BugInfo::id, BugIds::ids, and Server::Proxy.
void AppendComment | ( | string | comment, | |
bool? | isPrivate, | |||
double? | worktime | |||
) | [inline] |
Append a comment to the bug.
comment | The comment to append | |
isPrivate | true to make this comment visible to members of Bugzilla's insidergroup only, false (or null) to make it visible to all members. | |
worktime | The work time of this comment. Can be null or 0 for no work time. Ignored if You are not in the timetrackinggroup . |
This requires a patch from Bug 355847.
If isPrivate is null, the comment is assumed public.
Definition at line 108 of file Bug.cs.
References IProxy::AppendComment(), AppendCommentParam::comment, BugInfo::id, AppendCommentParam::id, AppendCommentParam::isPrivate, Server::Proxy, and AppendCommentParam::workTime.
Referenced by Bug::AppendComment().
void AppendComment | ( | string | comment | ) | [inline] |
Append a comment to the bug.
comment | The comment to append |
Definition at line 123 of file Bug.cs.
References Bug::AppendComment().
void AppendComment | ( | string | comment, | |
bool? | isPrivate | |||
) | [inline] |
Append a comment to the bug.
comment | The comment to append | |
isPrivate | true to make this comment visible to members of Bugzilla's insidergroup only, false (or null) to make it visible to all members. |
Definition at line 135 of file Bug.cs.
References Bug::AppendComment().
void AppendComment | ( | string | comment, | |
double? | worktime | |||
) | [inline] |
Append a comment to the bug.
comment | The comment to append | |
worktime | The work time of this comment. Can be null or 0 for no work time. Ignored if You are not in the timetrackinggroup . |
Definition at line 147 of file Bug.cs.
References Bug::AppendComment().
string Resolution [set] |
DateTime Created [get] |
DateTime Changed [get] |