For one issue type, I want to restrict the field "Linked issue" to only one value.
I succeeded to do it for the EDIT window (see picture Edit-Window), by using Behaviour plugin. But the code doesn't work for the "Link" dialog box (see picture Link-Dialog-Window) from the menu MORE -> Link
As the field's name is not the same, I supposed that is the reason, but I don't know how to get this name.
Can you help me please?
Just in case, here is the code I'm using:
// Get a pointer to the Issue Links Field
def issueLinksCF = getFieldById("issuelinks-linktype")
issueLinksCF.setFieldOptions(["relates to":"relates to"])
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs