Hi,
I'm kinda stuck, as this is the first time i use automation for jira with custom fields.
Basically i have a custom field called "CRM Company", the values of this field comes from a plugin called CRM for Jira and my problem is that i cannot find him in the list if i want to edit the field. Taking this in consideration, i have read that is possible to use the "More Options" from Automation to work with Custom Fields.
Now the flow goes like this:
1) I create a epic, where i select a value for the custom field called CRM Company.
2) After this i create another ticket trough automation where i want to just copy the value of this CRM Company field to the next ticket.
I tried something like this:
{
"fields": {
"customfield_10951": {{issue.customfield_10951.value}}
}
}
But still doesn't work, it gives me invalid json error... can somebody help me? How do i copy the value of a field in another ticket?
Thanks
Hello @Albert Manuel
Just to check the second part is automatically triggered by the first issue creation?
You can set to copy the value from the trigger issue in your configuration?
You tried running this code you have scriptrunner?
BR, Olga
@Olga Videc this is done directly in the Automation for Jira.
Yes the second part is automatically triggered by the first issue creation. No i haven't tried the Scrip runner because it suppose to work from Automation for Jira plugin directly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Albert,
You don't need to script anything, you can copy it through automation.
Your second issue creation is triggered by issue created?
Add edit issue choose "CRM Company" and choose "tree dots"
there you will find copy from - trigger issue.
I used deadline filed as example
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Olga Videc it dosen't find me the field CRM Company, because i already tried that
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Albert,
I understand you need JSON to copy the filed value.
What type is your cf?
Also, here is a discussion about how to copy a field from trigger issue as JSON
BR, Olga
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.
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.