Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Have read many posts about Fix Version and Sub-tasks but don't think I've seen one which answers this question:
Can I display the parent's Fix Version value on its child Sub-task screens as a read-only value?
Can I accomplish this with ScriptRunner and a scripted field?
I understand I can use post-functions, etc, to set the Sub-task's Fix Version to the same as the parent BUT there are always holes in that process; I'd rather just display as read-only on the Sub-task screens its parent's Fix Version.
Thank you in advance for any help!
Hello @Kelley Cooper ,
You are absolutely right, you should use a script field in that case. This is how I did it :
with the code :
if (issue.isSubTask()){
return issue.getParentObject()?.getFixVersions()
}
This is how it appears on the view screen :
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.