Руководство Нотаций

Печать полезных подсказок
Внешний Content

Способы включения, рюземирования и отсылки к контентам с других серверов.

Нотации Комментарий
{jiraissues:url=http://jira.xml.url}

{jiraissues:url=http://jira.xml.url|
columns=type;key;summary}

{jiraissues:url=http://jira.xml.url|
count=true}

{jiraissues:url=http://jira.xml.url|
cache=off}

{jiraissues:url=http://jira.xml.url?
os_username=johnsmith&os_password=secret}

{jiraissues:url=http://jira.xml.url|
anonymous=true}
Импортирует и показывает JIRA список как линейный контент для страницы. Вы можете легко настроить список и порядок столбцов, в котором они будут выведины на зкран, указав параметр columns.

url может быть скопирован из XML линка навигатора Jira'. Обратитесь к Документация JIRA Issues Macro за дальнейшими подробностями.

To specify a custom title (the text above the columns), you can specify the title parameter. By default this is JIRA Issues. A custom title can be specified by adding title=<My Custom Title> to the macros parameters.

You can control how wide the {jiraissues} macro renders by specifying a width parameter. To specify the width in percentage, use width=XX%. To specify the width in pixels, use width=XXpx. If unspecified, the width will be 100%.

Не указание columns приведет к порядку и столбцам по умолчанию.

Разрешенные колонки: key, summary, type, created, updated, assignee, reporter, priority, status, resolution.

Указание count=true вызовет макрос для печати того сколько результатов было в списке, без печати самого списка.

Использование cache=off вызовет макрос для внутреннего кэша Jira.

Заметьте: Текущие фильтры могут потребовать для работы зарегистрированного пользователя. \u0442

Вы можете предотвратить jira макрос от попытки использования связи доверенного приложения, указав anonymous=true. Результаты будут получены анонимно.

Пример:

Atlassian JIRA (Этот файл - XML презентация некоторых результатов)
Ключ Резюме Агент Статус Резерв Обновлено
TEST-100 Add JIRA support John Gordon Open UNRESOLVED 01/Jan/04
TEST-103 Add JUnit Support Robert Matson In Progress UNRESOLVED 25/Dec/03
TEST-108 Add RSS Support Bill Watson In Progress UNRESOLVED 23/Dec/03
TEST-109 Add Search Support Fred Morit Closed FIXED 03/Jan/04

{jiraportlet:url=http://jira.portlet.url} Импортирует и показывает JIRA 3 портрет в страницу Confluence.

Вы можете получить URL для портрета, сконфигурировав портрет в вашу инструментальную панель JIRA. В режиме конфигурации, вы можете скопировать URL портрета из вершины показа портлета.

Заметка: Текущие фильры могут потребовать для работы зарегистрированного в системе пользователя. Поэтому возможно вам потребуется добавить:
&os_username=yourJiraUsername&os_password=yourJiraPassword
к концу url вашего портлета.

{plugins-supported}
{plugins-supported:profileKey=confluence}
{plugins-supported:profileKey=confluence|by=atlassian}

Lists supported plugins.

  • profileKey — The profile from which to get a list of plugins to display.
  • by — Lets you filter the list of plugins by the name of the person or organization that supports them.

{plugin-compatibility-matrix}
{plugin-compatibility-matrix:key=confluence.repository.client}>
{plugin-compatibility-matrix:key=confluence.repository.client|productStart=2.7|productEnd=2.9}

Shows a plugins compatibility with versions of a product.

  • key — The key of the plugin to show compatibility information of.
  • productStart — The starting product version to show compatibility with. For instance, you can specify a value like 2.8 and the compatibility matrix will show compatibility information of the concerned plugin with product version 2.8 and above.
  • productEnd — This is the same as productStart. The only difference is that this is used as the upper boundary of the product version range, instead of lower.
  • majorVersionsOnly — If set to true, the generated compatibility matrix will only show compatibility with major versions of the product. If this is true, the plugin will assume the concerned plugin to be compatible with a major version of a product only:
    • When a version of the plugin is explicitly marked compatibile with any minor version of the product, and...
    • The same version of the plugin is not marked incompatible with any minor version of the product.
    By default, this is true.
  • rows — The number of the latest X versions of the plugin to show compatibility of. By default, all versions of the plugin is shown.
  • showBrokenBuilds — Lets you to choose whether to display broken builds as . By default, this is false and broken build cells are blank.
{im:myscreenname|service=AIM}
{im:me@hotmail.com|service=MSN|showid=false}

Displays a graphic indication of whether an IM user is online. You must supply a valid user ID as the default argument and the desired service.

Parameters

  • (default) - The user id/screen name.
  • service - The name of the service to check. May be 'aim', 'gtalk', 'icq', 'msn', 'sametime', 'skype', 'wildfire' or 'yahoo'.
  • showid - (optional) If 'false', the user's id will not be shown.

{junitreport:directory=file:///c:/test-reports}
(в настоящее время только забирает файлы результата в формат XML. Установите ant formatter в "xml")

{junitreport:url=file:///test-reports/TestRep.xml}
Показывет результаты серии (или одиночный) JUnit теста.

Успешный показатель Тесты Неудачи Время Время
93%
14 1 0 1.531

{rss:url=http://host.com/rss.xml}

{rss:url=http://host.com/rss.xml|max=5}

{rss:url=http://host.com/rss.xml|showTitlesOnly=true}

показывает контент удаленного RSS-канала внутри страницы. Заметьте: каналы кэшируются на 60 минут перед тем как извлекаются вновь.

Параметр 'max' может быть использован чтобы ограничить количество показанных входов.

Example:

Образец RSS-канала (RSS 2.0)
(Описание канала здесь...)
Мой элемент ( Dec 30, 2003 06:53)
И часть элемента контента здесь...
Другой элемент ( Dec 30, 2003 06:53)
И часть элемента контента здесь...

Вы можете указать 'showTitlesOnly=true', чтобы показать только заголовки RSS-каналов. По умолчанию этот параметр установлен в "Нет".

Вы можете указать 'titleBar=false', чтобы скрыть заголовок каналов. По умолчанию этот параметр установлен в "Да".

You can specify anonymous=false to download the target content over a trusted connection (Trusted Application). For instance {rss:url=http://example.com/path/to/target/location}. This parameter defaults to true.