Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Script Runner - How to add a field on screen

Radhika Shinde
February 1, 2023

How can I add a field on a project's field configuration and on the screens.

1 answer

0 votes
Amie Fudge
Contributor
April 21, 2018

I've built something similar as a traceability matrix (out of the box JIRA) only for me it was showing what Stories had linked defects.  

First you create a saved filter for your y-axis.  In my case I wanted all open stories in the current sprint say I named it "open sprint stories":

project = PROJNAME AND issuetype in (Story, Improvement) AND sprint in openSprints() AND status != Closed ORDER BY Rank

Next you create second filter for your x-axis building off the first filter.  In my case I wanted all unresolved defects

issueFunction in linkedIssuesOf("filter = 'open sprint stories'", "Relates To") AND status != Closed

Finally In JIRA go to Reports -> all reports and find the report called Traceability Matrix

This report has two parameters (rows and columns).  In rows I select filter 1 and in columns filter 2

Results will look similar to the below image. 

Once I have the report looking the way I wanted, I copied the url and added it to the project shortcuts in JIRA so that I don't have to recreate each time

If you want to share it with others be sure and update the permissions of your filters from private to the group

 

 

Screen Shot 2018-04-21 at 4.54.00 AM.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events