Hi,
Is it possible to copy a value of field from Task into Sub-task while creating this sub-task and making this copied value read-only ?
Please advise if you have any idea.
Thank you,
Rafal
The quickest and best solution I can think of would be to use a ScriptRunner scripted field living on the sub-task to show the value of the field from the parent.
- It's inherently always going to be accurate because it's just a view of the parent, so you don't need to worry about listening for changes and then keeping them in sync.
- I am not sure there's a way to make fields conditionally read-only that doesn't involve ScriptRunner anyway.
'Automation' would allow you to push data around, so if you cared less about the field being read-only, that could be an option as well.
Hi @Rafal Sojka
Adding on to what @Haddon Fisher suggested...
One consideration is do you need the task and sub-task values to remain in synch, or can the sub-task value change to be different later.
If it can change, consider using an automation rule to copy the value and so it will remain independent for edits.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you @Haddon Fisher and @Bill Sheboy , really appreciate that.
Finally, i decided to use JMCF plugin since it provides a scripted date field. I implemented a short Groovy script to copy a value from the parent issue.
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.