-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Add global Jira link #537
base: main
Are you sure you want to change the base?
Conversation
10a441b
to
4ae377e
Compare
@@ -175,15 +176,24 @@ const createdDate = computed(() => { | |||
> | |||
<div class="row osim-flaw-form-section pt-0"> | |||
<div class="osim-flaw-form-header"> | |||
<div v-if="flaw.meta_attr?.bz_id" class="osim-flaw-header-link"> | |||
<div v-if="flaw.meta_attr?.bz_id || flaw.task_key" class="osim-flaw-header-link"> | |||
<a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe add another v-if
here, since the parent div can be displayed anyway
@@ -523,3 +563,6 @@ describe('flawForm', () => { | |||
expect(wrapper.emitted()).toHaveProperty('refresh:flaw'); | |||
}); | |||
}); | |||
function importOriginal(arg0: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not used
@@ -523,3 +563,6 @@ describe('flawForm', () => { | |||
expect(wrapper.emitted()).toHaveProperty('refresh:flaw'); | |||
}); | |||
}); | |||
function importOriginal(arg0: string) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this?
4ae377e
to
eccf240
Compare
eccf240
to
726d2ab
Compare
OSIDB-3964 Add global Jira link
Checklist:
Summary:
Adds a link to Jira task if existing in the top right side of the flaw form view, just below the BZ link.
This requeriment appeared cause previously the only Jira link was on the internal comments, making it for read-only users who don't have an Jira API key set, difficult to quickly access to the related Jira task of a flaw.
Changes:
Screenshot:
Closes OSIDB-3964