Hello,
I want to fetch value from "Assignee" field of linked issue type Sub-task. And assign it to one of the custom field of parent.
Appreciate your help.
Hi @Ammara_Samar,
If you are using JSU plugin you can achieve this without any scripting.
it does provide post-function called "Copy Value From Other Field (JSU)"
>> Copies the value of one field to another, either within the same issue or between related issues (as issue link, Parent/Sub-Task, Epic/issues in Epic or found by JQL).
BR,
Leo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ammara_Samar ,
is it possible to use some add-on to achieve this? I would recommend you to use Adaptavist ScriptRunner and create custom groovy script. When this copy action should happen? Like during some transition?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks '@Hana Kučerová for your reply,
Yes I want to apply it on certain transition in workflow.
Dear, any alternate option than to go for groovy script?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are going to need one of the scripting or automation plugins.
If you do go for Scriptrunner, https://library.adaptavist.com/entity/copy-field-value-from-parent-issue-to-sub-task-upon-creation might be a good starting point. It's actually upside-down, but should give you enough of the code you need to invert it.
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.