Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-csv-import
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-csv-import
Commits
c1b8f18d
Commit
c1b8f18d
authored
Nov 16, 2016
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Started to add tickets to CSV import
parent
bb3caffb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
intranet-csv-import-procs.tcl
tcl/intranet-csv-import-procs.tcl
+9
-0
index.adp
www/index.adp
+3
-2
No files found.
tcl/intranet-csv-import-procs.tcl
View file @
c1b8f18d
...
...
@@ -45,6 +45,14 @@ ad_proc -public im_csv_import_guess_im_project { } {} {
return
$mapping
}
ad_proc -public im_csv_import_guess_im_ticket
{
}
{}
{
set mapping
{
{
parent_id
"SLA"
project_parent_nrs
""
}
{
start_date
"Date"
date
""
}
}
return
$mapping
}
ad_proc -public im_csv_import_guess_im_conf_item
{
}
{}
{
set mapping
{
{
conf_item_name
"Conf Item Name"
no_change
""
}
...
...
@@ -499,6 +507,7 @@ ad_proc -public im_csv_import_label_from_object_type {
switch
$object
_type
{
im_company
{
return
"companies"
}
im_project
{
return
"projects"
}
im_ticket
{
return
"helpdesk"
}
person
{
return
"users"
}
default
{
return
""
}
}
...
...
www/index.adp
View file @
c1b8f18d
...
...
@@ -13,11 +13,12 @@
<
%=
[
im_select
object_type
[
list
\
im_company
"
Company
"
\
im_conf_item
"
Configuration
Item
"
\
im_timesheet_task
"
Gantt
Task
"
\
im_membership
"
Membership
"
\
im_project
"
Project
"
\
im_risk
"
Risk
"
\
im_hour
"
Timesheet
Hour
"
\
im_timesheet_task
"
Gantt
Task
"
\
im_membership
"
Membership
"
\
im_ticket
"
Ticket
"
\
]
$
object_type
]
%
>
</td>
</tr>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment