Changes between Version 2 and Version 3 of TracTickets


Ignore:
Timestamp:
Jun 28, 2019, 2:20:16 PM (5 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TracTickets

    v2 v3  
    1 = チケットシステム = #TheTracTicketSystem
     1= The Trac Ticket System
    22[[TracGuideToc]]
    33
    4 Trac のチケットデータベースは、プロジェクトのチケットやバグについての、簡単で効果的なトラッキング機能を提供します。
     4The Trac ticket system provides a simple but effective way to track issues and software bugs within a project.
    55
    6 Trac のプロジェクト管理機能の中枢である、チケットシステムは、 '''プロジェクトのタスク管理''', '''機能追加のリクエスト''', '''バグレポート''', '''ソフトウェアサポートの課題''' などに使用できます。
     6As the central project management element of Trac, tickets can be used for '''project tasks''', '''feature requests''', '''bug reports''', '''software support issues''' among others.
    77
    8 このサブシステムは TracWiki のように、ユーザのコントリビュートと参加をできるだけ簡単にするという目標で設計しています。バグの報告や質問、改良の提案、決議に関する議論は簡単であるべきです。
     8As with the TracWiki, this subsystem has been designed to make user contribution and participation as simple as possible.
    99
    10 チケットは、それを解決しなければならない人にすでにアサインされているか、あるいは解決可能な人に再アサインされます。
    11 すべてのチケットは、いつでも、編集したり、注釈をしたり、アサインしたり、優先付けしたり、議論したりできます。
     10An issue is assigned to a person who must resolve it or reassign the ticket to someone else. All tickets can be edited, annotated, assigned, prioritized and discussed at any time.
    1211
    1312[=#edit-permissions]
    14 しかしながら、Trac の設定において 個人が変更できる箇所に制限を加える場合があります。例えばデフォルトの設定では、認証していないユーザ("anonymous" ユーザ)に対して変更やコメントを許可しないことで、明らかなスパム行為を予防しています。ローカル貢献ポリシーを確認してください。通常はフロントページである WikiStart で見つけることが出来ます。また、使用している Trac の管理者にお問い合わせください。
     13However, a Trac installation may place restrictions on who can change what. For example, the default installation doesn't permit to non-authenticated users ("anonymous" users) to change anything, even to comment on an issue, for obvious spam prevention reasons. Check the local contributing policy, which you can usually find on the front page of WikiStart, or contact your local Trac administrator.
    1514
    16 == チケット属性 == #TicketFields
     15== Ticket Fields
    1716
    18 チケットは、以下の情報を属性として含んでいます:
     17A ticket contains the following information:
     18 
     19 * '''Reporter''' — The author of the ticket.
     20 * '''Type''' — The category of the ticket. The default types are `defect`, `enhancement` and `task`.
     21 * '''Component''' — The project module or subsystem that this ticket concerns.
     22 * '''Version''' — Version of the project that this ticket pertains to.
     23 * '''Keywords''' — Keywords that a ticket is tagged with. Useful for searching and report generation.
     24 * '''Priority''' — The importance of this issue, ranging from ''trivial'' to ''blocker''. A dropdown list when multiple priorities are defined.
     25 * '''Milestone''' — Due date of when this issue should be resolved. A dropdown list containing the milestones.
     26 * '''Assigned to/Owner''' — Principal person responsible for handling the issue.
     27 * '''Cc''' — A comma-separated list of other users or email addresses to notify. Note that this does not imply responsibility or any other policy.
     28 * '''Resolution''' — Reason for why a ticket was closed. One of {{{fixed}}}, {{{invalid}}}, {{{wontfix}}}, {{{duplicate}}}, {{{worksforme}}}.
     29 * '''Status''' — What is the current status? The statuses are defined in the [TracWorkflow#BasicTicketWorkflowCustomization ticket workflow]. For the default workflow the statuses are `new`, `assigned`, `accepted`, `closed` and `reopened`.
     30 * '''Summary''' — A description summarizing the issue. Simple text without WikiFormatting.
     31 * '''Description''' — The body of the ticket. A good description should be specific, descriptive and to the point. Accepts WikiFormatting.
    1932
    20  * '''報告者 (Reporter)''' - チケットの作成者
    21  * '''分類 (Type)''' - チケットの本質 (例えば、不具合 (defect), 機能追加 (enhancement request) など) 詳細は [trac:TicketTypes TicketTypes] 参照
    22  * '''コンポーネント (Component)''' - チケットが適用されるモジュールやサブシステム
    23  * '''バージョン (Version)''' - チケットが適用されるプロジェクトのバージョン
    24  * '''キーワード (Keywords)''' - チケットに付与するキーワード。検索や、レポートの生成で使用する
    25  * '''優先度 (Priority)''' - ''trivial'' から ''blocker'' の範囲で示されるチケットの重要度。定義した他の優先度を含めプルダウンで表示
    26  * '''マイルストーン (Milestone)''' -  このチケットを少なくとも、いつまでに解決しなければならないのか。マイルストーンのリストをプルダウンで表示
    27  * '''担当者 (Assigned to/Owner)''' - チケットの扱いに責任を持つ主たる人
    28  * '''関係者 (Cc)''' -チケットに関係がある人または通知メール用の E-mail アドレスのカンマ区切りのリスト。 ''これは責任もいかなるポリシも意味していないことを注記しておく''
    29  * '''解決方法 (Resolution)''' - チケットが解決された際の理由。{{{修正した(fixed)}}}、{{{無効なチケット(invalid)}}}、{{{修正しない(wontfix)}}}、{{{他のチケットと重複(duplicate)}}}、{{{再現しない(worksforme)}}}など
    30  * '''ステータス (Status)''' - チケットの現在の状態。 {{{new}}}, {{{assigned}}}, {{{closed}}}, {{{reopened}}} のいずれか
    31  * '''概要 (Summary)''' - 問題点や、チケットについての簡単な説明。タイトル。WikiFormatting の適用されない単純なテキスト
    32  * '''説明 (Description)''' - チケットの内容。 特定された状況について、詳しく記述され、的を絞った良い説明文を書いてください。 WikiFormatting が適用されます
     33'''Notes:'''
     34 - Versions of Trac prior to 0.9 did not have the ''type'' field, but instead provided a ''severity'' field and different default values for the ''priority'' field. This change was done to simplify the ticket model by removing the somewhat blurry distinction between ''priority'' and ''severity''. However, the old model is still available if you prefer it: just add/modify the default values of the ''priority'' and ''severity'', and optionally hide the ''type'' field by removing all the possible values through [wiki:TracAdmin trac-admin].
     35
     36 - The [trac:TicketTypes type], [trac:TicketComponent component], version, priority and severity fields can be managed with [wiki:TracAdmin trac-admin] or through the !WebAdmin.
     37
     38 - Description of the builtin ''priority'' values is available at [trac:TracDev/Proposals/TicketTypes#Whyistheseverityfieldgone TicketTypes].
     39
     40== Changing and Commenting Tickets
     41
     42With appropriate permissions, as already mentioned [#edit-permissions above], a ticket entered into Trac can at any time be modified by '''annotating'''.
     43
     44Then, annotations like changes and comments to the ticket are logged as a part of the ticket itself. When viewing a ticket, the history of changes will appear below the main ticket area.
     45
     46Comment editing (available since Trac version 0.12) is meant to be used to make small corrections to comments, like fixing formatting, forgotten WikiFormatting or spelling errors, not major edits. For longer edits, you should be adding a new comment instead. Editing a comment will not produce a new entry on [/timeline], while entering a new comment or other changes will do.
     47
     48All edits (field changes, new comments, comment edits) update the "last changed" time of the ticket.
     49
     50'''Notes:'''
     51 - An important feature is being able to use TracLinks and WikiFormatting in ticket descriptions and comments. Use TracLinks to refer to other issues, changesets or files to make your ticket more specific and easier to understand.
     52
     53 - See TracNotification for how to configure email notifications of ticket changes.
     54
     55 - See TracWorkflow for information about the state transitions (ticket lifecycle), and how this workflow can be customized.
     56
     57== Default Values for Drop-Down Fields
     58
     59The option selected by default for the various drop-down fields can be set in [wiki:TracIni trac.ini], in the `[ticket]` section:
     60
     61 * `default_component`: Name of the component selected by default.
     62 * `default_milestone`: Name of the default milestone.
     63 * `default_priority`: Default priority value.
     64 * `default_severity`: Default severity value.
     65 * `default_type`: Default ticket type.
     66 * `default_version`: Name of the default version.
     67 * `default_owner`: Name of the default owner. If set to the text `< default >` (the default value), the component owner is used.
     68
     69If any of these options are omitted, the default value will either be the first in the list, or an empty value, depending on whether the field in question is required to be set. Some of these can be chosen through the !WebAdmin in the "Ticket System" section, others can be set in the [[wiki:TracIni#ticket-section|"[ticket]"]] section in `trac.ini`.
     70
     71== Hiding Fields and Adding Custom Fields
     72
     73Many of the default ticket fields can be hidden from the ticket web interface simply by removing all the possible values through [wiki:TracAdmin trac-admin]. This of course only applies to drop-down fields, such as ''type'', ''priority'', ''severity'', ''component'', ''version'' and ''milestone''.
     74
     75Trac also lets you add your own custom ticket fields. See TracTicketsCustomFields for more information.
     76
     77== Assign-to as Drop-Down List
     78
     79If the list of possible ticket owners is finite, you can change the ''assign-to'' ticket field from a text input to a drop-down list. This is done by setting the `restrict_owner` option of the `[ticket]` section in [wiki:TracIni trac.ini] to `true`. In that case, Trac will populate the list with all users who **have an authenticated session** and possess the `TICKET_MODIFY` [TracPermissions permissions].
     80
     81An authenticated session will be created the first time a user authenticates with the project. You can manually add an authenticated session using the ["TracAdmin#?session add" trac-admin] `session add` command. The `:1` suffix on the session id (i.e. username) is the key to creating an authenticated session:
     82{{{#!sh
     83trac-admin /path/to/projenv session add <sid>:1 [name] [email]
     84}}}
     85
     86You may find the dropdown list is //overpopulated// with users that are no longer active in the project. Revoking authentication privileges will not remove the session data that is used to populate the dropdown list. The [wiki:TracAdmin trac-admin] command can be used to list and remove sessions:
     87
     88 - List all sessions:
     89{{{#!sh
     90trac-admin /path/to/projenv session list
     91}}}
     92 - Remove a session:
     93{{{#!sh
     94trac-admin /path/to/projenv session delete SID
     95}}}
     96
     97Alternatively, you can just revoke `TICKET_MODIFY` from users that you don't want to be included in the list. However, that will not be possible if you've granted `TICKET_MODIFY` to all //anonymous// or //authenticated// users.
    3398
    3499'''Notes:'''
    35  - バージョン 0.9 以前の Trac では ''分類 (Type)'' 属性がありませんでしたが、代わりに ''重要度 (Severity)'' 属性が提供されており、 ''優先度 (Priority)'' 属性のデフォルトの値も異なっていました。この変更を行ったのは、やや不鮮明な ''優先度 (Priority)'' と ''重要度 (Severity)'' の区別を排除し、チケットモデルを簡素化するためです。しかしながら以前のチケットモデルも利用可能です: 単に ''優先度 (Priority)'' と ''重要度 (Severity)'' のデフォルトの値を追加/変更し、必要なら ''分類 (Type)'' 属性の全ての値を削除してください。これらは [wiki:TracAdmin trac-admin] コマンドで出来ます
     100 - If you need more flexibility and aren't afraid of a little plugin coding of your own, see the [https://trac-hacks.org/wiki/FlexibleAssignToPlugin FlexibleAssignTo plugin].
     101 
     102 - Activating this option may cause some performance degradation. Read more about this in the [trac:TracPerformance#Configuration Trac performance] page.
    36103
    37  - [trac:TicketTypes 分類 (type)], [trac:TicketComponent コンポーネント (component)], バージョン (version), 優先度 (priority), 重要度 (severity) の各フィールドは [wiki:TracAdmin trac-admin] か [trac:WebAdmin WebAdmin プラグイン] を用いて管理することができます
     104== Preset Values for New Tickets
    38105
    39  - ''優先度 (Priority)'' のデフォルト値についての説明は [trac:TicketTypes#Whyistheseverityfieldgone TicketTypes] に書かれています
     106To create a link to the new-ticket form filled with preset values, you need to call the `/newticket?` URL with `variable=value` separated by `&`. Possible variables are:
    40107
    41 == チケットの更新や注釈 == #ChangingandCommentingTickets
     108 * '''type''' — The type droplist.
     109 * '''reporter''' — Name or email of the reporter.
     110 * '''summary''' — Summary line for the ticket.
     111 * '''description''' — Long description of the ticket.
     112 * '''component''' — The component dropdown list.
     113 * '''version''' — The version dropdown list.
     114 * '''severity''' — The severity dropdown list.
     115 * '''keywords''' — The keywords or tags.
     116 * '''priority''' — The priority dropdown list.
     117 * '''milestone''' — The milestone dropdown list.
     118 * '''owner''' — The person responsible for the ticket.
     119 * '''cc''' — The list of emails for notifying about the ticket change.
    42120
    43 すでに [#edit-permissions 上記] で説明しているように、適切な権限を持っていれば、Trac にチケットを登録し、いつでも '''注釈''' を編集することができます。
     121Example: `[/newticket?summary=Compile%20Error&version=1.0&component=gui]`
    44122
    45 その際、変更やチケットへのコメントのような注釈は、チケットそのものの一部として記録されます。チケットの閲覧画面では、更新履歴がメイン表示領域の下部に表示されます。
     123== Deleting Tickets
    46124
    47 コメントの編集機能 (0.12 以降から) は フォーマットの調整や誤字脱字の修正のような小さな訂正を行うために使用するものであって、大幅な編集を行うものではありません。編集が長くなるような場合は、代わりとなるコメントを新しく追加するべきです。コメントを編集した場合、新しくコメントを記入した際や何か変更を行ったときのように [/timeline] に通知されることはありません。
     125Ticket delete and ticket change delete functions are enabled through an optional component. To enable the functionality edit the [TracIni#components-section "[components]"] section of TracIni:
     126{{{#!ini
     127[components]
     128tracopt.ticket.deleter.* = enabled
     129}}}
    48130
    49 すべての編集(フィールドの変更、コメントの追加、コメントの編集)において、チケットの "最終更新" 時間が更新されます。
    50 
    51 
    52 '''Notes:'''
    53  - 重要な特性として、チケットの説明やコメントでは TracLinks と WikiFormatting が使用できます。 TracLinks を用いて、他の課題やチェンジセット、ファイルを関連付けて、より明確で簡単に理解できるようにチケットを作成してください
    54 
    55  - チケットの変更を E メールで通知する設定方法に関しては TracNotification をご覧ください
    56 
    57  - チケットの状態遷移(ライフサイクル)とワークフローのカスタマイズ方法に関する情報は、 TracWorkflow をご覧ください
    58 
    59 == ドロップダウン形式の属性のデフォルト値 == #DefaultValuesforDrop-DownFields
    60 
    61 ドロップダウン形式のチケット属性では、デフォルトで選択される値を [wiki:TracIni trac.ini] の `[ticket]` セクションで指定できます:
    62 
    63  * `default_component`: デフォルトで選択されているコンポーネント名
    64  * `default_milestone`: デフォルトのマイルストーン
    65  * `default_priority`: デフォルトの優先度
    66  * `default_severity`: デフォルトの重要度
    67  * `default_type`: デフォルトのチケットの分類
    68  * `default_version`: デフォルトのバージョン
    69  * `default_owner`: デフォルトの担当者。 もし "< default >" (デフォルトの値)と設定された場合、コンポーネントの担当者が使用されます
    70 
    71 これらのオプションが設定されていない場合、デフォルト値はリストの 1 番目の項目になるか、空の値が使用されます。これは、問題となるフィールドが必須項目かどうかで異なります。これらのオプションのいくつかは、 [trac:WebAdmin WebAdmin] プラグインの "チケットシステム" セクションを通じて選択できます (その他のものは、 "trac.ini" の [wiki:TracIni#ticket-section|"[ticket]"] セクションで設定できます) 。
    72 
    73 
    74 == 属性を非表示にする、またはカスタム属性を追加する == #HidingFieldsandAddingCustomFields
    75 
    76 デフォルトで用意されているチケット属性の多くは、 [wiki:TracAdmin trac-admin] で全ての値を削除すると、チケットの Web インタフェース上で非表示にすることが出来ます。これが出来るのは ''分類 (Type)'', ''優先度 (Priority)'', ''重要度 (Severity)'', ''コンポーネント (Component)'', ''バージョン (Version)'', ''マイルストーン (Milestone)'' などドロップダウン形式のチケット属性だけです。
    77 
    78 Trac は新しいチケット属性を追加することが出来ます。詳しくは TracTicketsCustomFields を参照してください。
    79 
    80 
    81 == 担当者をドロップダウンリストにする == #Assign-toasDrop-DownList
    82 
    83 チケットの担当者になりうる人数が限られている場合、 "担当者 (Assigned-To)" 属性をテキスト入力からドロップダウンリストに変更することが出来ます。 [wiki:TracIni trac.ini] で `[ticket]` セクションの `restrict_owner` オプションを "true" に設定してください。この場合 Trac は、プロジェクトにアクセスした全てのユーザのリストを使用し、ドロップダウンリストに表示します。
    84 
    85 ドロップダウンリストに表示されるために、ユーザはプロジェクトに登録する必要があります。 ''例として'' ユーザのセッション情報がデータベースの中に存在すべきことがあげられます。セッション情報はユーザがそのプロジェクトで最初にデータベースを更新したときに自動的に生成されます。例えば、 ''ユーザ設定'' のページでユーザの詳細情報を編集したときや、認証ユーザがログインしたときなどです。また、ユーザは `TICKET_MODIFY` [TracPermissions パーミッション] が必要です。
    86 
    87 '''Notes:'''
    88  - [http://pacopablo.com/wiki/pacopablo/blog/set-assign-to-drop-down ドロップダウンリストにアサインを載せる] に、データベースのレベルで、ユーザのエントリを追加する方法が記載されています
    89 
    90  - 柔軟性が必要で、自分自身でコーディングをすることをいとわないならば、 [http://trac-hacks.org/wiki/FlexibleAssignToPlugin FlexibleAssignTo] を参照してみてください (ネタばれ: 私が作者です)
    91 
    92  - このオプションを有効にするとパフォーマンスが低下する原因となるかもしれません。 [trac:TracPerformance#Configuration Trac の性能] にさらに詳しい情報があります
    93 
    94 == 新規チケット登録時に、 URL で値を設定する == #PresetValuesforNewTickets
    95 
    96 値が設定されたチケット登録フォームへのリンクを作成するには、 `/newticket?` に続いて、 `パラメータ=値` を `&` でつないだ形式の URL を呼び出します。
    97 
    98 値を設定できるパラメータ:
    99 
    100  * '''type''' — ドロップダウンリストのタイプ
    101  * '''reporter''' — 報告者の名前
    102  * '''summary''' — チケットの概要
    103  * '''description''' — チケットの完全な説明
    104  * '''component''' — コンポーネント
    105  * '''version''' — バージョン
    106  * '''severity''' — 重要度
    107  * '''keywords''' — キーワード
    108  * '''priority''' — 優先度
    109  * '''milestone''' — マイルストーン
    110  * '''owner''' — チケットを解決できそうな人
    111  * '''cc''' — チケットが更新されたときに email で通知する人のリスト
    112 
    113 例: ''`[/newticket?summary=Compile%20Error&version=1.0&component=gui]`''[[BR]]
     131The //Delete// buttons appears next to the //Reply// buttons in the ticket description and ticket change areas. `TICKET_ADMIN` permission is required for deleting tickets and ticket changes.
    114132
    115133----
    116 See also:  TracGuide, TracWiki, TracTicketsCustomFields, TracNotification, TracReports, TracQuery
     134See also: TracTicketsCustomFields, TracNotification, TracReports, TracQuery