Skip to content

Commit

Permalink
Merge pull request #9 from solidify/bugs/states-missing-from-epic-fea…
Browse files Browse the repository at this point in the history
…ture

Bugs/states missing from epic feature
  • Loading branch information
MOlausson authored Dec 4, 2018
2 parents abc9f52 + b505a0d commit ddb8cb3
Show file tree
Hide file tree
Showing 24 changed files with 611 additions and 346 deletions.
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ queue:
variables:
BuildPlatform: 'any cpu'
BuildConfiguration: 'release'
major: 1
major: 2
minor: 0

name: $(major).$(minor)$(rev:.r)
Expand Down
168 changes: 150 additions & 18 deletions docs/Samples/config-scrum.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,66 @@
{
// the short name of the project to migrate from
"source-project": "SCRUM",
// the name of the project to migrate to
"target-project": "Jira-181108-s",
// the name of the query to use for identifying work items to migrate
// the query must be a flat query
"target-project": "Jira-181127-p",
"query": "project = SCRUM ORDER BY Rank ASC",
// where logs and export data are saved on disk
"workspace": "C:\\Temp\\JiraExport\\",
// requires customization per account and sometimes project
"workspace": "C:\\Solidify\\JiraExport\\",
"epic-link-field": "customfield_10008",
"sprint-field": "customfield_10007",
// how many items to retrieve with one call
"batch-size": 20,
// Debug, Info, Warning, Error or Critical
"log-level": "Debug",
// where to store attachments
"attachment-folder": "Attachments",
// user mapping file (content needs to be in format [jira username]=[vsts username])
"user-mapping-file": "users.txt",
"base-area-path": "Migrated",
"base-iteration-path": "Migrated",
"ignore-failed-links": true,
"process-template": "Scrum",
"process-template": "Scrum",
"link-map": {
"link": [
{
"source": "Epic",
"target": "System.LinkTypes.Hierarchy-Reverse"
},
{
"source": "Parent",
"target": "System.LinkTypes.Hierarchy-Reverse"
},
{
"source": "Relates",
"target": "System.LinkTypes.Related"
},
{
"source": "Duplicate",
"target": "System.LinkTypes.Duplicate-Forward"
}
]
},
"type-map":{
"type": [
{
"source": "Feature",
"target": "Feature"
},
{
"source": "Epic",
"target": "Epic"
},
{
"source": "Story",
"target": "Product Backlog Item"
},
{
"source": "Bug",
"target": "Bug"
},
{
"source": "Task",
"target": "Product Backlog Item"
},
{
"source": "Sub-task",
"target": "Task"
}
]
},
"field-map": {
"field": [
{
Expand All @@ -42,7 +80,50 @@
{
"source": "priority",
"target": "Microsoft.VSTS.Common.Priority",
"mapper": "MapPriority"
"mapping": {
"values": [
{
"source": "Blocker",
"target": "1"
},
{
"source": "Critical",
"target": "1"
},
{
"source": "Highest",
"target": "1"
},
{
"source": "Major",
"target": "2"
},
{
"source": "High",
"target": "2"
},
{
"source": "Medium",
"target": "3"
},
{
"source": "Low",
"target": "3"
},
{
"source": "Lowest",
"target": "4"
},
{
"source": "Minor",
"target": "4"
},
{
"source": "Trivial",
"target": "4"
}
]
}
},
{
"source": "customfield_10007",
Expand All @@ -61,14 +142,65 @@
{
"source": "status",
"target": "System.State",
"not-for": "Task",
"mapper": "MapStateBugAndPBI"
"for": "Task",
"mapping": {
"values": [
{
"source": "To Do",
"target": "To Do"
},
{
"source": "Done",
"target": "Done"
},
{
"source": "In Progress",
"target": "In Progress"
}
]
}
},
{
"source": "status",
"target": "System.State",
"for": "Task",
"mapper": "MapStateTask"
"for": "Bug,Product Backlog Item",
"mapping": {
"values": [
{
"source": "To Do",
"target": "New"
},
{
"source": "Done",
"target": "Done"
},
{
"source": "In Progress",
"target": "Committed"
}
]
}
},
{
"source": "status",
"target": "System.State",
"for": "Epic,Feature",
"mapping": {
"values": [
{
"source": "To Do",
"target": "New"
},
{
"source": "Done",
"target": "Done"
},
{
"source": "In Progress",
"target": "In Progress"
}
]
}
},
{
"source": "customfield_10004",
Expand Down
Loading

0 comments on commit ddb8cb3

Please sign in to comment.