Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,865
Community Members
 
Community Events
184
Community Groups

JIRA 7 Script Runner Behaviod Plugin - hide issue link type options by name

Ramakrishnan Srinivasan
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.
Mar 24, 2019

Hi,

 Need some help in hiding issue link type options by name. I have "Easy Links for JIRA" add-on deployed in our JIRA 7 server. It allows to pick multiple issues as links. I have to create multiple such fields.

Now, I want users to use only the issue selection custom field and should not be able to add the custom link types 'is implemented in' or 'implements' using JIRA's native More-Link-This Issue field. 

Is that possible to hide only those two options in JIRA Link types. I referred https://community.atlassian.com/t5/Answers-Developer-Questions/Behaviour-plugin-to-restrict-linkedissue-types/qaq-p/536508 but could not succeed in getting what I wanted

 

Thanks in advance

 

with warm regards

ramki

1 answer

1 accepted

0 votes
Answer accepted
Peter-Dave Sheehan
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 30, 2019

Scriptrunner behaviors don't currently fire when you use the menu "More>Link" from the issue.

To enable behavior scripts and manipulate the list of link types, you would have to for the users to edit the issue either via the default edit screen or via a special workflow transition screen.

Then, you could manipulate the link-type field with getFieldById("issuelinks-linktype")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events