Details
-
Bug
-
Resolution: Timed out
-
Low
-
None
-
7.6.15, 8.4.2, 7.13.9
-
None
-
7.06
-
Severity 2 - Major
-
Description
Issue Summary
Contrary to what's described in https://developer.atlassian.com/server/jira/platform/web-item/ (refer to screenshot below), the `opsbar-operations` plugin location does not render WebItem's `param` in anchor element.
Steps to Reproduce
With below web-section & web-item nodes added to atlassian-plugin.xml:
<web-section key="bar-web-section" location="opsbar-operations" weight="0"> <label key="bar-actions.label"/> </web-section> <web-item key="bar-web-item" section="bar-web-section" weight="10"> <label key="Bar Action"/> <link>/test</link> <param name="bar_param_name">bar_param_value</param> <styleClass>bar-class&lt;/styleClass> <tooltip>This is bar's tooltip.</tooltip> </web-item>
Expected Results
The `bar_param_name=bar_param_value` param is rendered as an attribute in the anchor element.
Actual Results
The generated html for the anchor link is
<a id="[plugin-key]:bar-web-item" title="This is bar's tooltip." class="aui-button toolbar-trigger bar-class" href="/jira/test" resolved=""><span class="trigger-label">Bar Action</span></a>
The `bar_param_name=bar_param_value` param is not rendered as an attribute in the anchor element.
Notes
The issue was first raised by the plugin vendor (for ASW Service Catalog project) as question #23 in https://ecosystem.atlassian.net/wiki/spaces/AWS/pages/714571788/Questions+Log.
They referred to https://developer.atlassian.com/server/jira/platform/issue-view-ui-locations/#adding-custom-sections-and-items for adding the new web-section & web-item.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available
Attachments
Issue Links
- was cloned as
-
JSEV-2693 Loading...