I am developing a feature where in I need to save the values from different customfields into AO Table whenever the postfunction is called from the screen.
Please provide me few examples for the same.
I am using the examples provided in the online document. But its not succesful.
As per my understanding you need to retrieve customfield value
below code will help you to get the same
CustomField customField = customFieldManager.getCustomFieldObject("customfield_10000"); Object customFieldValue = issue.getCustomFieldValue(customField);
and write your own postfunction http://www.j-tricks.com/1/post/2010/08/workflow-post-function.htmland execute above code to get customfield values and
will help you.
Thanks for the reply. I was getting error when I was trying to create AO table even though the ao object was not null.
I tried the approach used here http://www.j-tricks.com/1/post/2012/07/active-objects-injection.htmlit seems the error is gone.
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot