Hello Team,
I am trying to copy "summary" from linked issue(parent issue) to custom field of child issue when child Issue created through Big Picture.
here is my Listener at created event.
import com.atlassian.jira.component.ComponentAccessor
You're getting there! Your rule is firing when an issue is *linked* to a parent, which is a bit different than what you said before (when a child is created). Here's a working rule for copying a custom field to a newly created child - you can edit it or have multiple rules if you want to handle both "I created a new child" AND "I linked an existing issue to a new parent".
Here's my rule:
Note that there is a "Multiple Issue Events" trigger that could handle both Create/Link events, but I think those are harder to read.
your mentioned rule will copy Request type (custom field) value of Parent Issue to Request type of newly created Issue.
How do I copy(map) summary of existing issue to the newly created issue (which is then linked as "Child Of" existing Issue) custom field (single text) value?
Please Advise.
Thanks,
Venkatesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Venkatesh Pettem - I suggest spending some time playing with the rules and the documentation and templates at https://www.atlassian.com/software/jira/features/automation . In the meantime can you mark my answer correct? Your last question is really just about details - copying different fields or editing the logic to include a linking event is very similar to the example I gave. You can do pretty much anything with automation!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Venkatesh Pettem -
Looks like you are doing this by scripting. Data Center now comes with Automation for Jira, which makes this sort of thing a snap and is more maintainable and easier to troubleshoot. Have you played around with that?
See for example: https://support.atlassian.com/automation/kb/jira-automation-how-to-copy-parent-issue-fields-into-sub-tasks/
There's a "Copy Field From Parent" action and you can use conditions to only execute for certain issue types.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John Price,
I have tried with the bellow automation rule to copy parent summary value to child(linked issues) custom field "Related Project Task" when child issue is created and linked with parent issue.
Please Advise.
Thanks,
Venkatesh
Project
Project
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.
Register here ⬇️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.