@@ -74,14 +74,19 @@ export default function WebhookInfoPage() {
74
74
return (
75
75
< div className = "p-4 max-w-4xl mx-auto" >
76
76
< h1 className = "text-2xl font-bold mb-1" > Webhook Monitor</ h1 >
77
- < h2 className = "text-sm text-gray-500 mb-4" > Fetch latest Jira and Bytebase Issue, Refresh every 3 seconds</ h2 >
77
+ < h2 className = "text-sm text-gray-500 mb-4" > Fetch latest Jira and Bytebase Issue related webhook, auto refresh every 3 seconds</ h2 >
78
+ < ol className = "list-decimal list-inside text-sm mb-4" >
79
+ < li > A new issue created in Jira will trigger a new issue creation in Bytebase </ li >
80
+ < li > When the issue is created in Bytebase, the Jira issue will be updated with the Bytebase issue link and set to In progress </ li >
81
+ < li > When the issue in Bytebase is updated as Done, the Jira issue will be set to Done </ li >
82
+ </ ol >
78
83
79
84
{ error && < p className = "text-red-500 mb-4" > { error } </ p > }
80
85
81
86
< div className = "grid grid-cols-1 md:grid-cols-2 gap-4" >
82
87
{ jiraInfo && (
83
88
< div className = "bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4" >
84
- < h3 className = "text-xl font-semibold mb-4" > Jira Issue</ h3 >
89
+ < h3 className = "text-xl font-semibold mb-4" > Last changed Jira Issue</ h3 >
85
90
< p > < strong > Issue Key:</ strong > { jiraInfo . issueKey } </ p >
86
91
< p > < strong > Issue Type:</ strong > { jiraInfo . issueType } </ p >
87
92
< p > < strong > Project Key:</ strong > { jiraInfo . projectKey } </ p >
@@ -96,7 +101,7 @@ export default function WebhookInfoPage() {
96
101
97
102
{ bytebaseInfo && (
98
103
< div className = "bg-white shadow-md rounded px-8 pt-6 pb-8 mb-4" >
99
- < h3 className = "text-xl font-semibold mb-4" > Bytebase Issue</ h3 >
104
+ < h3 className = "text-xl font-semibold mb-4" > Last changed Bytebase Issue</ h3 >
100
105
< p > < strong > Issue ID:</ strong > { bytebaseInfo . issueId } </ p >
101
106
< p > < strong > Issue Name:</ strong > { bytebaseInfo . issueName } </ p >
102
107
< p > < strong > Issue Status:</ strong > { bytebaseInfo . issueStatus } </ p >
0 commit comments