Copy Value From Other Field (JSU) Issue Relation: Source and destination issue are the same.Copy Field: Time to TXT , append with separator: ,open
Output TXT field
<p>,open2018-11-08 00:00:00.0</p>
The app simply copies what is in the source field into the destination. The text in the source field contains the extra text, so it gets copied.
thanks Nic
I trim string with ScriptRunner
import com.atlassian.jira.component.ComponentAccessor
def customFieldManager = ComponentAccessor.getCustomFieldManager()
def PointCf = customFieldManager.getCustomFieldObjectByName("Point")
def Point = (issue.getCustomFieldValue(PointCf) as String)?.replaceAll("<p>|</p>","")
issue.setCustomFieldValue(PointCf, Point)
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.