History: Bug_Tracker_16

Preview of version: 2

Bug tracking is one of the most obvious uses of trackers in Tiki. They are very simple, and yet they take many steps to configure. This profile will enable the tracker feature and create a basic bug tracker to which you will be able to add additional fields.

Bug trackers are typically accessible to the whole community. We want people to check if a bug has already been logged before adding a new one. This is different than an Issue_Tracker.

This page will be created:
Profile_Bug_tracker_15_bug_page

This profile can be extended to use the custom search plugin using the Bug_Tracker_Search profile.

YAML
preferences: feature_trackers: y feature_user_watches: y instructions: Profile_Bug_tracker_15_bug_page objects: - type: tracker ref: bug_tracker data: name: Bugs description: Standard bug tracker default_status: open show: [ status, creation_date, modification_date, list_modification_date ] allow: [ comments, attachments ] - type: tracker_field ref: bug_tracker_summary data: name: Summary tracker: $bug_tracker type: text_field flags: [ searchable, public, list, mandatory, link ] order: 10 - type: tracker_field ref: bug_tracker_priority data: name: Priority tracker: $bug_tracker type: dropdown options: 5 (high),4,3,2,1 (low) flags: [ searchable, public, list ] order: 20 - type: tracker_field ref: bug_tracker_description data: name: Description tracker: $bug_tracker type: text_area options: 1 flags: [ public, mandatory ] order: 30 - type: tracker_field ref: bug_tracker_assignee data: name: Assigned to tracker: $bug_tracker type: user flags: [ searchable, public, list ] order: 40


Sample data


YAML
objects: - type: tracker_item ref: bug_001 data: tracker: $Bug_Tracker:bug_tracker status: open values: - [ $Bug_Tracker:bug_tracker_summary, Sample bug ] - [ $Bug_Tracker:bug_tracker_assignee, admin ] - [ $Bug_Tracker:bug_tracker_priority, 3 ] - [ $Bug_Tracker:bug_tracker_description, "This bug was created as part of the sample data for Bug_Tracker." ] - type: tracker_item ref: bug_002 data: tracker: $Bug_Tracker:bug_tracker status: pending values: - [ $Bug_Tracker:bug_tracker_summary, We are working on this bug ] - [ $Bug_Tracker:bug_tracker_assignee, admin ] - [ $Bug_Tracker:bug_tracker_priority, 2 ] - [ $Bug_Tracker:bug_tracker_description, "This will soon be fixed" ] - type: tracker_item ref: bug_003 data: tracker: $Bug_Tracker:bug_tracker status: closed values: - [ $Bug_Tracker:bug_tracker_summary, A really bad bug ] - [ $Bug_Tracker:bug_tracker_assignee, admin ] - [ $Bug_Tracker:bug_tracker_priority, 5 ] - [ $Bug_Tracker:bug_tracker_description, "This bug is closed." ]


Modules

YAML
objects: - type: module ref: module_last_modif_tracker_items data: name: last_modif_tracker_items groups: [ Anonymous, Registered ] position: right order: 5 params: trackerId: $Bug_Tracker:bug_tracker name: Summary - type: module ref: module_last_tracker_comments data: name: last_tracker_comments groups: [ Anonymous, Registered ] position: right order: 9



Add a form to add bug report and a report of open bugs


This will include: Profile_Bug_tracker_bug_page

YAML
instructions: Bug_Tracker preferences: enable: [ feature_wiki ] objects: - type: wiki_page ref: bug_tracker_page data: name: Bug_Tracker description: What needs to be done lang: en content: wikicontent:Profile_Bug_tracker_bug_page


Plugin to embed bug information in pages


YAML
objects: - type: plugin_alias data: name: bug implementation: trackerlist description: name: Bug Embed description: Displays a bug's information inside a wiki page prefs: [ feature_trackers ] params: id: name: ID description: Bug ID matching the tracker item ID required: true filter: digits body: input: ignore params: trackerId: $bug_tracker fields: $profileobject:bug_tracker_summary$:$profileobject:bug_tracker_description$:$profileobject:bug_tracker_assignee$:$profileobject:bug_tracker_priority$ showlinks: "y" showstatus: "y" status: opc max: 1 showlastmodif: "n" showfieldname: "n" itemId: pattern: %id% params: id: default: 0



Todo

  • Fix bug/feature about multiple installs

proposed structure

fields:
  • summary
  • severity
    • fatal,major,normal,normal,minor,text
  • Priority
    • only admin/dev-member can change
    • 1,2,3,3,4,5
  • status
    • only admin/dev-member and creator can change
    • new,new,feedback,acknowledged,confirmed,resolved,wontfix,worksforme
  • version
  • description
  • expected behaviour
  • submitted by
    • not changeable (Immutable after creation)
  • assigned to
    • only admin/dev-member can change

History

Information Version
Wed 26 of Mar, 2025 22:35 GMT-0000 Benoit Roy made both text area in the bug tracker use the same wysiwyg 52
View
Wed 26 of Mar, 2025 22:19 GMT-0000 Benoit Roy updated options of tiki versions 51
View
Sun 06 of Aug, 2023 00:56 GMT-0000 Marc Laporte code Plugin modified by editor. 50
View
Sat 05 of Aug, 2023 19:15 GMT-0000 Xavier de Pedro attempt to fix it in 25.x + ( https://tikiwiki.gitlab.io/ci-helpers/tiki-profiles-tester/ ). Hint provided by tiki 26.x: "The reserved indicator "%" cannot start a plain scalar; you need to quote the scalar at line 30 (near "pattern: %id%")." 49
View
Tue 03 of Nov, 2020 16:49 GMT-0000 Jonny Bradley remove some (hopefully) irrelevant prefs, mainly sender_email as it breaks existing sites if you don't see it 48
View
Mon 10 of Aug, 2020 17:14 GMT-0000 Xavier de Pedro added tag 47
View
Thu 24 of Aug, 2017 22:01 GMT-0000 Philippe Cloutier typo (oops) 46
View
Thu 24 of Aug, 2017 22:01 GMT-0000 Philippe Cloutier clarify and update following Help desk profile rename 45
View
Tue 27 of Dec, 2016 21:14 GMT-0000 Xavier de Pedro fixed page alias 44
View
Tue 27 of Dec, 2016 18:18 GMT-0000 Xavier de Pedro renamed all 15 with 16 43
View
Tue 27 of Dec, 2016 18:15 GMT-0000 Xavier de Pedro added alias 42
View
Fri 02 of Dec, 2016 12:08 GMT-0000 Xavier de Pedro added trackerfield_groupselector 41
View
Mon 14 of Nov, 2016 14:51 GMT-0000 Xavier de Pedro removed admin_editable_after since it's not in tiki15 (only in tiki17) and it stops the profile from getting fully applied 40
View
Wed 09 of Nov, 2016 14:54 GMT-0000 Xavier de Pedro fixed admin_editable_after and added prefs to allow users viewing and editing their own items 39
View
Wed 19 of Oct, 2016 12:33 GMT-0000 Xavier de Pedro fixed allow deny in submitters and reviewers: only local object perms granted to avoid interferences in other systems with global perms, etc. 38
View
Wed 19 of Oct, 2016 12:24 GMT-0000 Xavier de Pedro fixed description of groups and grant perm to reviewers to edit tracker items, etc. and to submitters to view pending and closed on the tracker created, not globally 37
View
Tue 11 of Oct, 2016 17:06 GMT-0000 Xavier de Pedro added comment perms to submitters 36
View
Fri 07 of Oct, 2016 17:25 GMT-0000 Xavier de Pedro change one admin_editable to creator_editable 35
View
Fri 07 of Oct, 2016 17:15 GMT-0000 Xavier de Pedro tweaked comments 34
View
Fri 07 of Oct, 2016 17:10 GMT-0000 Xavier de Pedro added comments prefs and perms 33
View
Fri 07 of Oct, 2016 16:59 GMT-0000 Xavier de Pedro added perfs to track email sending and request sender_email data 32
View
Fri 07 of Oct, 2016 16:38 GMT-0000 Xavier de Pedro changed position of the instructions page just in case 31
View
Fri 07 of Oct, 2016 16:35 GMT-0000 Xavier de Pedro fixed 30
View
Fri 07 of Oct, 2016 16:30 GMT-0000 Xavier de Pedro removed redundant instructions page 29
View
Fri 07 of Oct, 2016 16:00 GMT-0000 Xavier de Pedro typo 28
View