This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new df7ba5129 fix: jira epics wont be converted to domain layer during the
frist run (#6318)
df7ba5129 is described below
commit df7ba5129d5ff612f041642f8b8e919d99ecb71d
Author: Klesh Wong <[email protected]>
AuthorDate: Tue Oct 24 16:53:03 2023 +0800
fix: jira epics wont be converted to domain layer during the frist run
(#6318)
* fix: jira epics wont be converted to domain layer at the first run
* feat: tolerate missing connections for developers sake
---
backend/plugins/jira/impl/impl.go | 6 +++---
config-ui/src/features/connections/name.tsx | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/backend/plugins/jira/impl/impl.go
b/backend/plugins/jira/impl/impl.go
index 81a577cf3..62c8f5cc7 100644
--- a/backend/plugins/jira/impl/impl.go
+++ b/backend/plugins/jira/impl/impl.go
@@ -134,6 +134,9 @@ func (p Jira) SubTaskMetas() []plugin.SubTaskMeta {
tasks.CollectSprintsMeta,
tasks.ExtractSprintsMeta,
+ tasks.CollectEpicsMeta,
+ tasks.ExtractEpicsMeta,
+
tasks.ConvertBoardMeta,
tasks.ConvertIssuesMeta,
@@ -153,9 +156,6 @@ func (p Jira) SubTaskMetas() []plugin.SubTaskMeta {
tasks.ExtractAccountsMeta,
tasks.ConvertAccountsMeta,
-
- tasks.CollectEpicsMeta,
- tasks.ExtractEpicsMeta,
}
}
diff --git a/config-ui/src/features/connections/name.tsx
b/config-ui/src/features/connections/name.tsx
index 51482969d..ac819657a 100644
--- a/config-ui/src/features/connections/name.tsx
+++ b/config-ui/src/features/connections/name.tsx
@@ -28,5 +28,5 @@ interface Props {
export const ConnectionName = ({ plugin, connectionId }: Props) => {
const connection = useAppSelector((state) => selectConnection(state,
`${plugin}-${connectionId}`)) as IConnection;
- return <span>{connection.name}</span>;
+ return <span>{connection ? connection.name :
`${plugin}/connections/${connectionId}`}</span>;
};