You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Hi all,
I have a project where I use the same screen for stories and epics.
I wrote a Scriptrunner behaviour to hide the "Epic Link" custom field from the screen, when the current issue is an Epic.
The field is now hidden, but the validation error "An epic cannot have another epic linked to it." is still visible, together with the helper text "Choose an epic to assign this issue to.", and the field name "Epic Link"
Is there a way to remove these texts from the screen?
Thanks in advance
I have run a basic Server-Side Behaviour test for the Epic Link in my environment, and I can hide the Epic Link field for all issue types except for the Epic issue type.
Below is the sample code that I have tested with:-
def epicLink = getFieldById(fieldChanged)
if (issueContext.issueType.name in ['Story', 'Task', 'Bug', 'Epic'] ) {
epicLink.hidden = true
}
Below is a screenshot of my Behaviour configuration:-
This may be a Bug. I suggest creating a ticket on the Adaptavist Support Channel for further investigation.
Thank you and Kind regards,
Ram
@Ram Kumar Aravindakshan _Adaptavist_, I did as you suggested and the answer was "It's not possible to hide those errors", probably they're hard-coded in the core of Jira.
Never mind, I'll explain this to the users.
Hopefully the new way of setting parent relationship developed by Atlassian, is going to solve this problem.
I'll accept your answer, as I learnt by it that I can actually raise a bug request at Adaptavist. Thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I slightly changed the title of this ticket in the hope that other users locate it when facing the same issue
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.