プロジェクト

全般

プロフィール

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

Tomohisa Kusukawa, 2015/07/19 23:50

1 5 Tomohisa Kusukawa
h1. Redmine Plugin: Wiki Lists {{count}}
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 6 Tomohisa Kusukawa
bitbucket: https://bitbucket.org/tkusukawa/redmine_wiki_lists/downloads
12 1 Tomohisa Kusukawa
13
h2. Installation
14
15 7 Tomohisa Kusukawa
# Download zip file from "bitbucket":https://bitbucket.org/tkusukawa/redmine_wiki_lists/downloads
16 4 Tomohisa Kusukawa
# 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 8 Tomohisa Kusukawa
* created_on
82
* closed_on
83
* relations
84 1 Tomohisa Kusukawa
85
h3. example
86
87 4 Tomohisa Kusukawa
|\2. *1. list up tickets that contain 'sorting' in subject*|
88
|notation|{{@ref_issues(-s=sorting)@}}|
89
|results|{{ref_issues(-s=sorting)}}|
90 1 Tomohisa Kusukawa
91
92 4 Tomohisa Kusukawa
|\2. *2. list up tickets that contain 'sorting' in subject. and specify display column(subject,author,assigned_to,status)*|
93
|notation|{{@ref_issues(-s=sorting,subject,author, assigned_to, status)@}}|
94
|results|{{ref_issues(-s=sorting,subject,author, assigned_to, status)}}|
95
96
97
|\2. *3. list up tickets that contain 'sorting' in subject, and restrict by project=wiki_lists*|
98
|notation|{{@ref_issues(-p=wiki_lists,-s=sorting)@}}|
99
|results|{{ref_issues(-p=wiki_lists,-s=sorting)}}|
100
101
102
|\2. *4. use custom query by ID*|
103
|notation|{{@ref_issues(-i=9)@}}|
104
|results|{{ref_issues(-i=9)}}|
105
106
107
|\2. *5. use custom query by name*|
108
|notation|{{@ref_issues(-q=MyCustomQuery1)@}}|
109
|results|{{ref_issues(-q=MyCustomQuery1)}}|
110
111
112
|\2. *6. use custom query and restrict by usr_id=89*|
113
|notation|{{@ref_issues(-i=9,-f:assigned_to_id=89)@}}|
114
|results|{{ref_issues(-i=9,-f:assigned_to_id=89)}}|
115
116
117
|\2. *7. display linked string that is results of custom query*|
118
|notation|{{@ref_issues(-i=9,-l)@}}|
119
|results|{{ref_issues(-i=9,-l)}}|
120
121
122
|\2. *8. display linked string(=ticket id) that is results of custom query*|
123
|notation|{{@ref_issues(-i=9,-l=id)@}}|
124
|results|{{ref_issues(-i=9,-l=id)}}|