feat: jira and synchro
This commit is contained in:
@@ -16,6 +16,14 @@ export interface AppConfig {
|
||||
enableNotifications: boolean;
|
||||
autoSave: boolean;
|
||||
};
|
||||
integrations: {
|
||||
jira: {
|
||||
enabled: boolean;
|
||||
baseUrl?: string;
|
||||
email?: string;
|
||||
apiToken?: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
// Configuration par défaut
|
||||
@@ -32,6 +40,14 @@ const defaultConfig: AppConfig = {
|
||||
enableDragAndDrop: process.env.NEXT_PUBLIC_ENABLE_DRAG_DROP !== 'false',
|
||||
enableNotifications: process.env.NEXT_PUBLIC_ENABLE_NOTIFICATIONS === 'true',
|
||||
autoSave: process.env.NEXT_PUBLIC_AUTO_SAVE !== 'false'
|
||||
},
|
||||
integrations: {
|
||||
jira: {
|
||||
enabled: Boolean(process.env.JIRA_BASE_URL && process.env.JIRA_EMAIL && process.env.JIRA_API_TOKEN),
|
||||
baseUrl: process.env.JIRA_BASE_URL,
|
||||
email: process.env.JIRA_EMAIL,
|
||||
apiToken: process.env.JIRA_API_TOKEN
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -35,6 +35,7 @@ export interface Task {
|
||||
// Métadonnées Jira
|
||||
jiraProject?: string;
|
||||
jiraKey?: string;
|
||||
jiraType?: string; // Type de ticket Jira: Story, Task, Bug, Epic, etc.
|
||||
assignee?: string;
|
||||
}
|
||||
|
||||
@@ -53,6 +54,11 @@ export interface KanbanFilters {
|
||||
priorities?: TaskPriority[];
|
||||
showCompleted?: boolean;
|
||||
sortBy?: string;
|
||||
// Filtres spécifiques Jira
|
||||
showJiraOnly?: boolean;
|
||||
hideJiraTasks?: boolean;
|
||||
jiraProjects?: string[];
|
||||
jiraTypes?: string[];
|
||||
[key: string]: string | string[] | TaskPriority[] | boolean | undefined;
|
||||
}
|
||||
|
||||
@@ -122,6 +128,9 @@ export interface JiraTask {
|
||||
key: string;
|
||||
name: string;
|
||||
};
|
||||
issuetype: {
|
||||
name: string; // Story, Task, Bug, Epic, etc.
|
||||
};
|
||||
duedate?: string;
|
||||
created: string;
|
||||
updated: string;
|
||||
|
||||
Reference in New Issue
Block a user