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.
Online 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.