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.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.