Forums

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

How to Deep clone value of the insight object field to plain text field?

Ignas Selvestravičius
Contributor
May 9, 2022

Disclaimer: I am using Deep clone app here.

I want to copy issues from service desk project to software project and I have to clone the insight object field value to another field that is plain text. This is because I want to export issues with their real values, instead of an internal key value.

Below is the value I get after export (this is an issue to fix this https://jira.atlassian.com/browse/JSDCLOUD-10056)

image.png

 

And this is what I am asking about. Below I have written the pseudo-code that does not work. Maybe it is possible to write the one it is working, that could copy value from one field (insight object) to another?

 image.png

2 answers

2 accepted

1 vote
Answer accepted
Marlene Kegel - codefortynine
Atlassian Partner
May 11, 2022

Update 2022-07-11: We released an update which enables you to set dynamic values in the Deep Clone Field Editor using Jira expressions.  Unfortunately this update doesn't work for insight fields as they are not supported by the Jira API.

___

Hi @Ignas Selvestravičius,

I am Marlene from codefortynine.

Thank you for reaching out to our support. For all those reading along here, I'll copy our answer again under this post.

Unfortunately there is currently no way to set a dynamic value like that in the Deep Clone Field Editor. We’re currently designing a solution to support dynamic values, however it would not work for insight fields as they are not well supported by the Jira API.

In the meantime, maybe you can find a way using Jira Automation. We’ve had customers in the past who were able to adjust their issues afterwards, especially since we now allow to call a Jira Automation rule after the clone succeeded. 

Perhaps someone familiar with Jira Automation can confirm if this is possible.

If anybody else is interested in this feature for Deep Clone for Jira, please reach out to us. This helps us to prioritize.

0 votes
Answer accepted
Ignas Selvestravičius
Contributor
May 16, 2022

For whoever will seek the knowledge of the solution how it is possible to workaround this issue. 

  1. Before copying with Deep Clone App, in automation copy the wanted inisght object custom field to another text field (plain text or similar doesn't work for me, only the wiki style text fields somehow...)
  2. Write your smart value line, from where the value should be copied. The format is something liek this {{issue.[InsighObjectName].[InsightObjectAttribueName]}}

image.png

Suggest an answer

Log in or Sign up to answer