プロジェクト

全般

プロフィール

Wiki Lists en » 履歴 » バージョン 4

Tomohisa Kusukawa, 2013/07/27 20:34

1 2 Tomohisa Kusukawa
h1. Redmine Plugin: Wiki Lists 
2 1 Tomohisa Kusukawa
3
{{>toc}}
4
5
日本語は [[Wiki Lists|こちら]].
6
7 4 Tomohisa Kusukawa
This plugin adds wiki macros that display ticket lists.
8 1 Tomohisa Kusukawa
9
h2. Downloads
10
11 4 Tomohisa Kusukawa
bitbucket: https://bitbucket.org/kusu/redmine_wiki_lists/downloads
12 1 Tomohisa Kusukawa
13
h2. Installation
14
15 4 Tomohisa Kusukawa
# Download zip file from "bitbucket":https://bitbucket.org/kusu/redmine_wiki_lists/downloads
16
# Unzip
17
# Move the unziped folder into the $REDMINE/plugins/
18
# Restart REDMINE
19 1 Tomohisa Kusukawa
20
h1. Usage
21
22 4 Tomohisa Kusukawa
h2. ref_issues
23 1 Tomohisa Kusukawa
24
ref_issues macro displays list of issues.
25
26
h3. Syntax
27
28 4 Tomohisa Kusukawa
{{@ref_issues([options].., [column]..)@}}
29 1 Tomohisa Kusukawa
30
*options:* 
31
32 4 Tomohisa Kusukawa
* -s[=WORD[|WORD]..]
33
  select issues that contain WORDs in subject. 
34 1 Tomohisa Kusukawa
35 4 Tomohisa Kusukawa
* -d[=WORD[|WORD]..]
36
  select issues that contain WORDs in description. 
37
38
* -w[=WORD[|WORD]..]
39
  select issues that contain WORDs in subject or description.
40
41
* -p[=IDENTIFIRE]
42
  Specify the project by identifire.
43
44
* -i=CUSTOM_QUERY_ID
45
  Use custom query by id.
46
47
* -q=CUSTOM_QUERY_NAME
48
  Use custom query by query name.
49
50
* -f:ATTRIBUTE[=WORD[|WORD...]]
51
  Additional filter. Attributes are shown below.
52
|tracker_id,project_id,subject,description, 
53
due_date,category_id,status_id,assigned_to_id,priority_id, 
54
fixed_version_id,author_id,lock_version,created_on,updated_on, 
55
start_date,done_ratio,estimated_hours,parent_id,root_id, 
56
lft,rgt,is_private,closed_on, cf_*|
57
58 1 Tomohisa Kusukawa
You can specify two or more select option, it affect AND condition.
59
WORDs is one or more search words divided by '|', and multiple words affect OR condition.
60
If you specify no select condition, page name of wiki or number of issue is used for search word.
61
62
*columns:* 
63
You can choose columns that you want to display.
64
If you do not specify the columns, same columns with customquery are displayed.
65
66
* project
67
* tracker
68
* parent
69
* status
70
* priority
71
* subject
72
* author
73
* assigned_to
74
* updated_on
75
* category
76
* fixed_version
77
* start_date
78
* due_date
79
* estimated_hours
80
* done_ratio
81
* created
82
83
h3. example
84
85 4 Tomohisa Kusukawa
|\2. *1. list up tickets that contain 'sorting' in subject*|
86
|notation|{{@ref_issues(-s=sorting)@}}|
87
|results|{{ref_issues(-s=sorting)}}|
88 1 Tomohisa Kusukawa
89
90 4 Tomohisa Kusukawa
|\2. *2. list up tickets that contain 'sorting' in subject. and specify display column(subject,author,assigned_to,status)*|
91
|notation|{{@ref_issues(-s=sorting,subject,author, assigned_to, status)@}}|
92
|results|{{ref_issues(-s=sorting,subject,author, assigned_to, status)}}|
93
94
95
|\2. *3. list up tickets that contain 'sorting' in subject, and restrict by project=wiki_lists*|
96
|notation|{{@ref_issues(-p=wiki_lists,-s=sorting)@}}|
97
|results|{{ref_issues(-p=wiki_lists,-s=sorting)}}|
98
99
100
|\2. *4. use custom query by ID*|
101
|notation|{{@ref_issues(-i=9)@}}|
102
|results|{{ref_issues(-i=9)}}|
103
104
105
|\2. *5. use custom query by name*|
106
|notation|{{@ref_issues(-q=MyCustomQuery1)@}}|
107
|results|{{ref_issues(-q=MyCustomQuery1)}}|
108
109
110
|\2. *6. use custom query and restrict by usr_id=89*|
111
|notation|{{@ref_issues(-i=9,-f:assigned_to_id=89)@}}|
112
|results|{{ref_issues(-i=9,-f:assigned_to_id=89)}}|
113
114
115
|\2. *7. display linked string that is results of custom query*|
116
|notation|{{@ref_issues(-i=9,-l)@}}|
117
|results|{{ref_issues(-i=9,-l)}}|
118
119
120
|\2. *8. display linked string(=ticket id) that is results of custom query*|
121
|notation|{{@ref_issues(-i=9,-l=id)@}}|
122
|results|{{ref_issues(-i=9,-l=id)}}|