One of our workflows does a copy value from other field. Although it changes the assignee field the value does not show in issue navigator Recently Added query or assignment in activity tab. It displays the old value in the query. The new value is in the record.
Here is the code:
<action id="211" name="Send to Development" view="fieldscreen">
<meta name="jira.description"></meta>
<meta name="jira.fieldscreen.id">10143</meta>
<results>
<unconditional-result old-status="Not Done" status="Done" step="16">
<post-functions>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.UpdateIssueStatusFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.misc.CreateCommentFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.GenerateChangeHistoryFunction</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.issue.IssueReindexFunction</arg>
</function>
<function type="class">
<arg name="appendValues">no</arg>
<arg name="sourceField">customfield_10180</arg>
<arg name="destinationField">assignee</arg>
<arg name="class.name">com.innovalog.jmwe.plugins.functions.CopyValueFromOtherFieldPostFunction</arg>
<arg name="oldValue">no</arg>
</function>
<function type="class">
<arg name="class.name">com.atlassian.jira.workflow.function.event.FireIssueEventFunction</arg>
<arg name="eventTypeId">3</arg>
</function>
</post-functions>
</unconditional-result>
</results>
</action>
Why does JIRA not reflect the value change in History? The plugin does change the field but Issue Navigator and history are not recognizing the change.
What field does JIRA look at besides customfield_10180
You must put the CopyValueFromOtherField post-function at the beginning, not the end, of the list.
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.