Skip to main content

Show who worked on a work item or page

Add a panel that lists everyone who changed a work item, or the people who changed a page recently, in the spaces of one team.

Problem: To find out who touched a work item or a page, people scroll through its history. On a long-running work item, the names they need are buried under hundreds of entries.

Solution: You start a fragment from the built-in contributors template and check it in the live preview on a real work item or page. Then you switch it on for one space.

What you'll need​

  • Script Master for Jira or Script Master for Confluence, with an active license. See Get started.
  • The Administer Jira global permission, or Confluence administrator rights.
  • A space to show the fragment in, for example DEMO. No Companion App is needed: fragments run in the viewer's browser.

Set it up​

  1. In Script Master, select the Fragments tab.

  2. Select the arrow next to Create fragment (More ways to create), then From a template. The Start from a template dialog opens.

  3. Select Display contributors. The editor opens with Location set to Work item panel and the code filled in.

  4. In Spaces, select DEMO.

  5. In the preview beside the code, pick a work item in Work item, for example DEMO-1. The panel draws the list of contributors for that work item.

    The fragment editor with the Display contributors code and the live preview showing contributors for DEMO-1

  6. Turn on Enable, then select Save.

Result: Script Master shows "Fragment saved!" with the version number. The fragment is on, in space DEMO only.

What your team will experience​

  1. In Jira, someone opens a work item in DEMO, selects View app actions (the icon under the title), then Custom Panels. In Confluence, someone selects Custom Actions under the page title.
  2. Under Select fragment to display:, they select the fragment.
  3. The list of contributors appears. The code runs as the viewer, so it shows only what that person may see. Back to list returns to the list of fragments.

Check that it works​

  1. Open a work item or page in DEMO that several people have changed.
  2. Confirm that the fragment lists those people, as far as you're allowed to see them.
  3. Open a work item or page in another space. Confirm that you aren't offered the fragment there.