如何将Web视图添加到Jira仪表板

时间:2015-11-28 18:02:06

标签: jira jira-plugin

我们像许多其他人一样使用Jira ..但我们也在我们的商业讨论板上使用了一个论坛,并且在Jira存在之前就已存在,所以我们在那里有很多历史信息。

可以在仪表板中添加“小工具”,但是可以在某处添加网页浏览吗?

1 个答案:

答案 0 :(得分:1)

请遵循以下指南: https://developer.atlassian.com/jiradev/jira-platform/guides/dashboards/tutorial-writing-gadgets-for-jira

打开src / main / resources / gadget.xml:

<?xml version="1.0" encoding="UTF-8" ?>
<Module>
    <ModulePrefs title="__MSG_gadget.title__" directory_title="__MSG_gadget.title__"
        description="__MSG_gadget.description__">
        <Optional feature="gadget-directory">
            <Param name="categories">
                JIRA
            </Param>
        </Optional>
        <Optional feature="atlassian.util" />
        <Optional feature="auth-refresh" />
        <Require feature="views" />
        <Require feature="settitle"/>
        <Require feature="oauthpopup" />
        #oauth
        <Locale messages="__ATLASSIAN_BASE_URL__/download/resources/jira-gadget-tutorial-plugin/i18n/ALL_ALL.xml"/>
    </ModulePrefs>
    <Content type="html" view="profile">
        <!-- omitted for now -->
    </Content>
 </Module>

你有没有看到:

   <Content type="html" view="profile">
        <!-- omitted for now -->
    </Content>

只需在此处插入您的相框:

   <Content type="html" view="profile">
        <iframe src="your forum url">
    </Content>