Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping a custom field (Date) to a custom field (Date) with additional X days in Elements Copy & Syn

Thảo Nguyễn
Contributor
April 19, 2022

bb.PNG aa.PNG

Hi all,

I'm working on Elements Copy & Sync. I need to map a customfield Due Date (Date Picker) = Customfield_12500 (Date Picker)+ 3 days.

As the document (https://doc.elements-apps.com/elements-copy-and-sync/3.0/fields-mappings/configuring-local-and-remote-jira-fields-mapping/issue-and-current-user-velocity-variables), I Get Value of Customfield_12500, Convert value to Date format and then I addDays as picture.

But It has not been working. 

Please give me some advices or solutions to resolve this problem.

Thank you so much!

 

1 answer

1 accepted

0 votes
Answer accepted
Karina S. {Elements}
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 20, 2022

 

Hi Thao

If the field customfield_12500 is a Jira Date Picker field, and you need to map it to itself using the advanced field mapping and some Velocity, then I'm afraid this is not possible, I'm sorry. There's an existing change request for that need CS-1558

For now, in the advanced mapping, and for Jira Date Picker fields, you can map the field to a system field

unnamed (1).png

$dateResolver.addDays($issue.created, "3")

As mentioned before, this is possible because I used a system field in the advanced mapping and not a Jira Date Picker to Jira Date picker mapping.

Sure, field to field mapping is always possible.

Good luck and don't hesitate to reach out if you have further questions 

Thảo Nguyễn
Contributor
April 20, 2022

Hi @Karina S. {Elements} ,

Thank you so much for your clear explanation. I'll find a alternative solution for my case.

Thank you again!

Like Karina S. {Elements} likes this
Arif Demir June 9, 2022

Hi @Thảo Nguyễn 

I have the same problem and am looking for a solution. I would be happy if you share your solution.

 

@Karina S. {Elements} Unfortunately, I do not see the status of the change request. Could you please share it with us? 

 

Thanks,
Arif 

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events