I've tried this about 30 different ways to no success. The audit log shows it is successful but the fields are not updated in the story ticket. Here is the code I am using:
Things I've tried include:
Referring to the customfields by name rather than the ID.
"epic" instead of "parent" in the json code
Both fields are available to all issue types.
@John Funk The audit log only shows "Success" attached below.
I am trying to copy the value of a custom field labeled "Producer" and "Brand Manager" in the epic to the same fields in the story ticket. When I check the story ticket, neither field is correctly taking the values from the epic.
Yes, same issues. Yes, they are both filled in on the epic and the story ticket is attached to the epic. The fields are "People" fields as categorized by jira when we created them in the issue types section of the project settings.
As you know, global customfields don't work with next-gen so that's why I've tried using the code written at the top of this post.
If I create a new field and add it to both issue types, that field isn't even in the dropdown of fields to edit, so I need to access it through JSON. I don't think my JSON has any errors but I may not be correctly accessing the data to copy to the story ticket.
Ah, it's a Next-gen project. That's probably the problem - there are known issues about how Next-gen actually links to Epics - it's different than normal.
I am not sure I have seen anyone get that working.
I would open a ticket with Atlassian and see if they can help:
Please post back here with any solution.
The manager’s daily activities include a list of challenges to reach high levels of efficiency for their teams. Part of these challenges is related to how to deal with the worklog systems sin...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events