{"id":844,"date":"2008-03-06T20:41:13","date_gmt":"2008-03-07T04:41:13","guid":{"rendered":"https:\/\/blogs.plm.automation.siemens.com\/t5\/Polarion-Blog\/Exposing-Work-Items-Inside-the-Polarion-Wiki\/ba-p\/380598"},"modified":"2026-03-26T05:31:31","modified_gmt":"2026-03-26T09:31:31","slug":"exposing-work-items-inside-the-polarion-wiki","status":"publish","type":"post","link":"https:\/\/blogs.sw.siemens.com\/polarion\/exposing-work-items-inside-the-polarion-wiki\/","title":{"rendered":"Exposing Work Items Inside the Polarion Wiki"},"content":{"rendered":"<p>Polarion 3.0.3 Release is out. The new release ships with a hidden but quite interesting improvement of its wiki functionality.<br \/>\nThe feature is called &#8220;embedding of workitems inside wiki pages&#8221;. Instead of simple references you can directly display workitems inside your wiki pages.<\/p>\n<p>In this blog I want to give you some examples how this functionality can come very handy inside your projects.<br \/>\nJust by embedding simple workitem queries in your wiki pages you will be able to create custom specification documents, impact reports or project status reports.<\/p>\n<p>Lets have a look at the different ways how work items can be embedded.<br \/>\n<H3>Embedding via Workitem ID<\/H3><br \/>\nUse this if you want to embed exactly one workitem inside your wiki page.<br \/>\nWiki syntax:<br \/>\n{wi: ProjectName\/WorkItemId | List of Fields | expand=yes\/no}<\/p>\n<p>ProjectName(optional): name of project where work item is located. If no one is specified current project name used by default<br \/>\nWorkItemId: identifier of work item.<br \/>\nfields = List of Fields(optional): list of entries in form FieldName as Type that specifies fields to output. Type can be text, image, image-text. By default the application outputs following fields: id as text, type as image, status as image, severity as image.<br \/>\nexpand: if this property is set to yes all specified information about work item is presented below the link<\/p>\n<p>Example:<br \/>\n{wi: MyProject\/WI-245 | description as text, status as text-image, severity as text | expand = no}<br \/>\n<H3>Embedding By Query<\/H3><br \/>\nUse this if you want to add multiple items inside your wiki page.<br \/>\nThe syntax text is similiar to Polarion Query builder syntax<br \/>\n{wi: query=Polarion Query | List of Fields | sortby = Field tablewidth=Width | tableheight = Height | expand=yes\/no}<\/p>\n<p>Example:<br \/>\n{wi: query= type:defect AND (priority:critical OR priority:major) | sortby=created | fields = ID, status as image, severity as image-text, description as text | tablewidth=90% | tableheight=240px}<br \/>\n<H3>Creation of custom specification documents<\/H3><br \/>\nIn many cases specification documents consist of some static sections and sections in which you list requirements.<\/p>\n<p>In following Example I combined both approaches &#8211; embedding via workitem ID and embedding by query &#8211; to create a simple specification document<\/p>\n<p><A title=\"fullspecificationpage.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/fullspecificationpage.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"fullspecificationpage.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/fullspecificationpage.gif\" \/><\/A><br \/>\nAfter some static section at the beginning we list the description of workitem DEMO-1.<br \/>\nUsing list as output format( output=list) will display all selected fields below the workitem. I prefer that format because I find it easier to read.<br \/>\nExpand is set to yes (expand=yes) so all listed fields (here only description) are expanded already when you open the wiki page.<br \/>\nWe could add additional fields inside the fields section seperated by comma (fields = title as text, description as text&#8230;)<\/p>\n<p><A title=\"embeddingoneitem.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/embeddingoneitem.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"embeddingoneitem.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/embeddingoneitem.gif\" \/><\/A><\/p>\n<p>In the next section I have added multiple items by query. We have two options here. We can specify a query to filter for specific requirements to be displayed..<br \/>\nFor example we could query for all functional requirements with following query: categories.id:functional or<br \/>\nfor all requirements in status proposed with following query: status<img decoding=\"async\" id=\"smileytongue\" class=\"emoticon emoticon-smileytongue\" src=\"https:\/\/siemensplm.i.lithium.com\/i\/smilies\/16x16_smiley-tongue.png\" alt=\"Smiley Tongue\" title=\"Smiley Tongue\" \/>roposed.<br \/>\nThe other option is to pick a set of items by id inside our query.<br \/>\nI have chosen the latter approach in our example.<\/p>\n<p><A title=\"embeddingmultipleitems.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/embeddingmultipleitems.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"embeddingmultipleitems.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/embeddingmultipleitems.gif\" \/><\/A><br \/>\n<H3>Displaying linked testcases to a requirement in a table view<\/H3><br \/>\nYou can easily query for linked testcases to a requirement if you know the id(s) of the requirement.<br \/>\nLets say our requirement has the id DEMO-22 and we want to find all testcases linked to it.<br \/>\nTo display requirement DEMO-22 we simply embed it by ID. To display linked testcases in the next column we use following trick.<br \/>\nAll linked testcases will have a link to DEMO-22. So if we don&#8217;t search by id (id<img decoding=\"async\" id=\"smileyvery-happy\" class=\"emoticon emoticon-smileyvery-happy\" src=\"https:\/\/siemensplm.i.lithium.com\/i\/smilies\/16x16_smiley-very-happy.png\" alt=\"Smiley Very Happy\" title=\"Smiley Very Happy\" \/>EMO-22) but just for the word DEMO-22 we will find all items with the word DEMO-22 inside<\/p>\n<p>.<A title=\"wikiquerylinkedtestcases.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/wikiquerylinkedtestcases.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"wikiquerylinkedtestcases.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/wikiquerylinkedtestcases.gif\" \/><\/A><br \/>\nAll testcases that link to DEMO-22 will have the word inside the linked work items section.<br \/>\nAs we want to list testcases only the complete query will look like this: &#8220;type:testcase AND DEMO-22&#8221;<\/p>\n<p><A title=\"linkedtestcases.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/linkedtestcases.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"linkedtestcases.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/linkedtestcases.gif\" \/><\/A><br \/>\n<H3>Creating Backlog Reports by User<\/H3><br \/>\nIf you want to embed all open items per user for a specific timpoint you can do that simply by following query:<br \/>\nstatus<img decoding=\"async\" id=\"smileysurprised\" class=\"emoticon emoticon-smileysurprised\" src=\"https:\/\/siemensplm.i.lithium.com\/i\/smilies\/16x16_smiley-surprised.png\" alt=\"Smiley Surprised\" title=\"Smiley Surprised\" \/>pen AND timePoint.id:Iter1 AND assignee.id:ron<\/p>\n<p><A title=\"backlogwiki.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/backlogwiki.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"backlogwiki.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/backlogwiki.gif\" \/><\/A><\/p>\n<p><A title=\"backlog.gif\" href=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/backlog.gif\" rel=\"nofollow noopener noreferrer\"><IMG alt=\"backlog.gif\" src=\"http:\/\/community.plm.automation.siemens.com\/legacyfs\/online\/siemensplm_blogs\/2008\/03\/backlog.gif\" \/><\/A><br \/>\n<H3>Manage Project reports<\/H3><br \/>\nCreate a wiki page that displays items of type project report. The project report item contains personal judgement of the project manager about his project<br \/>\nIn that way you can aggregate reports of different projects within one wiki page<br \/>\n<H3>Manage risks<\/H3><br \/>\nSome requirements should be controlled via risks that are assigned to users for periodical review.<br \/>\nCreate a risk page which embeds the risks sorted by different aspects<\/p>\n<p>I hope the different scenarios gave you some ideas how that feature could be applied within your project.<br \/>\nThink about: News pages, project announcements, testplan reports, release notes, glossaries<br \/>\nStay tuned for upcoming blogs.<\/p>\n<p>Best<br \/>\nTim<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Polarion 3.0.3 Release is out. The new release ships with a hidden but quite interesting improvement of its wiki functionality.<br \/>\nThe feature is called &#8220;embedding of workitems inside wiki pages&#8221;. Inste&#8230;<\/p>\n","protected":false},"author":68985,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spanish_translation":"","french_translation":"","german_translation":"","italian_translation":"","polish_translation":"","japanese_translation":"","chinese_translation":"","footnotes":""},"categories":[1],"tags":[],"industry":[],"product":[],"coauthors":[],"class_list":["post-844","post","type-post","status-publish","format-standard","hentry","category-news"],"_links":{"self":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/844","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/users\/68985"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":1,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/844\/revisions"}],"predecessor-version":[{"id":845,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/posts\/844\/revisions\/845"}],"wp:attachment":[{"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/media?parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/categories?post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/tags?post=844"},{"taxonomy":"industry","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/industry?post=844"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/product?post=844"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/blogs.sw.siemens.com\/polarion\/wp-json\/wp\/v2\/coauthors?post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}