-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove Qualifier role from incident management (#54)
* Add new FeatureTeam model FIR-307 * set Admin register for FeatureTeam FIR-307 * remove qualifier code * Feature Team as mandatory pick at front end FIR-307 * add migrations to raid app FIR-307 * use incident details Feature Team pick to qualify ticket FIR-308 * set import export Feature Team data FIR-308 * chore: add explicit django-import-export * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Roc Itxart <[email protected]> Co-authored-by: Gabriel Dugny <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
4f358db
commit e5bb968
Showing
6 changed files
with
71 additions
and
3 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
from __future__ import annotations | ||
|
||
from import_export import resources | ||
|
||
from firefighter.raid.models import FeatureTeam | ||
|
||
|
||
class FeatureTeamResource(resources.ModelResource): | ||
class Meta: | ||
model = FeatureTeam | ||
skip_unchanged = True | ||
report_skipped = False | ||
fields = ("id", "name", "jira_project_key") | ||
import_order = ("name", "jira_project_key") | ||
export_order = ("name", "jira_project_key") |