Forums

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

Using ScriptRunner to rename "Linked Issues" label as a behaviour

Aiden Marriott
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 4, 2020

I have an iniataliser function that sets the label of linked issues:

import com.atlassian.jira.component.ComponentAccessor
import com.atlassian.jira.issue.MutableIssue


def LinkTypefield = getFieldById("issuelinks-linktype")
//def IssueTypeField = getFieldById("issuelinks-issues")
LinkTypefield.setLabel("Linked Jira Tickets")

//IssueTypeField.setLabel("This should be the issue bit")

 

This works... mostly but the word "Issue" is still there (see below) and I cant figure out how to access this label.  Can anyone help?

Capture.PNG

1 answer

0 votes
Noah Leu
Community Champion
September 18, 2024

Hello @Aiden Marriott ,

I assume you did not found a solution here? Still searching in 2024.

Best
Noah

Suggest an answer

Log in or Sign up to answer