This article explains how to how to add CSS styling styles to the Issue Matrix panel in Jira on the Server instance using the app Issue Matrix.
...
using the app, Issue Matrix, on server. Here, we will be adding CSS Styles to have columns and text within it using different colors.
Instructions
- Login to Jira as an Administrator.
- Navigate Cog wheel → Issues → custom fields → Navigate to
- Select All custom fields and and search for "Issue Matrix" and click on "on Next" as as shown in the below screenshot.:
Add a name to the custom field (for example
:, Issue Matrix_2)
Add the custom field to the
respective project screen:project screen where required:
- In the above screenshot, the custom field Issue Matrix_2 is added to the B1 project screens.
- Now search for the custom field, which was created in the earlier step.
- Go to Configure > Edit Matrix Configuration > Epic and click on Next.
- Configure the below details and click on Save to save the configuration.
Navigate to System > Announcement Banner.
Add the below CSS Script in the Announcement Banner section and modify the custom field ID (Ex: Issue Matrix_2 has ID 10621). The th and td elements are used for table cells. th is used for table header cells while TD is used for table data cells.
Code Block theme Midnight <style type="text/css"> #issue-list-panel-10621 table th[data-id="issuetype"], #issue-list-panel-10621 table td.issuetype { background:red; color:black; } #issue-list-panel-10621 table td.issuetype a { color:black; } #issue-list-panel-10621 table th[data-id="issuekey"], #issue-list-panel-10621 table td.issuekey{ background:green; color:white; } #issue-list-panel-10621 table td.issuekey a { color:white; } #issue-list-panel-10621 table th[data-id="priority"], #issue-list-panel-10621 table td.priority { background:yellow; color:black; } #issue-list-panel-10621 table td.priority a { color:black; } #issue-list-panel-10621 table th[data-id="issuelinks"], #issue-list-panel-10621 table td.issuelinks { background:orange; color:black; } #issue-list-panel-10621 table td.issuelinks a { color:black; } #issue-list-panel-10621 table th[data-id="project"], #issue-list-panel-10621 table td.project { background:blue; color:yellow; } #issue-list-panel-10621 table td.project a { color:yellow; } #issue-list-panel-10621 table th[data-id="status"], #issue-list-panel-10621 table td.status { background:gold; color:red; } #issue-list-panel-10621 table td.status a { color:red; } #issue-list-panel-10621 table th[data-id="resolution"], #issue-list-panel-10621 table td.resolution { background:olive; color:white; } #issue-list-panel-10621 table td.resolution a { color:white; } </style>
Click on Set Banner.
With the above CSS configuration implemented, below is the required output on the Issue Matrix panel:
Note |
---|
Below are the steps to limit the CSS styles to a few projects:
|