Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation Clone - Custom Fields are not cloning

Heidi Gibson March 7, 2022

Automation rule created: 

1. When new issue is created on Jira Service Management Board

2. Clone issue to another Project - clone same issue type as trigger (cloning a story) - both projects have stories enabled.

---> Issue to copy value from trigger issue

---> custom field name applied

3. Link back to trigger issue

 

Audit log shows that it was successful but when checking the newly created story, the field did not copy over.

4 answers

1 accepted

1 vote
Answer accepted
Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 7, 2022

Hi @Heidi Gibson ,

Welcome to the community. To know more about the issue, please let me know 

  1. In the automation rule,  have you selected "Copy <Custom field> from Current issue" ?
  2. Is the custom field enabled in view screen on the project B issue type ? You can check it from project B --> project settings --> Issues --> Screens
    Check the View screen attached for the Issue type of project B 
  3. Share the screenshot of the rule "Then" section.  It looks like the attached screenshot

    image.png
Heidi Gibson March 8, 2022

1. No, custom field from Trigger issue
2. I associated the custom field with ALL screens - triple checked to make sure it was enabledScreen Shot 2022-03-08 at 8.53.27 AM.png

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2022

Hi @Heidi Gibson 

  1. Does the parent ticketreally has the value for "2022 portfolio Name" field ?
  2. Create clone of the issue in same project  using "Clone" option from the ticket and see if the cloned ticket has the value or not
  3. Check if there are any automation rules or workflow post functions to clear the field vlaues in the Project B isue type. 
Heidi Gibson March 8, 2022

1. Yes

2. Cloned in same project using clone - values still present

3. No automation rules other than to clone the request to project B. Not sure where to check for post functions, but I checked the project workflows and I don't see anything clearing the field values - all generic demo WF's from setupScreen Shot 2022-03-09 at 1.42.52 AM.png

Heidi Gibson March 8, 2022

The intake form is using Proforma forms, do I have to assign the smart value on clone?

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2022

@Heidi Gibson 
I dont know about proforma forms. 

Regarding workflow post functions,

  1. Go to Admin Settings --> Issues  -- > Workflows
  2. Edit the Jira Workflow(jira) (assuming it is assigned to your projectB story)
  3. Switch to diagram mode -->Click on "Create transition" 
    A side window will pop-up and click on Post functions 
  4. Check if there is any Post function clearing the field values
  5. Click Discard if no changes made OR Click Publish if changes made.
Like Heidi Gibson likes this
Heidi Gibson March 9, 2022

I see what you were talking about, but I don't see any post functions on the "create transition" that is showing clear fields. I created a post function to set the value, and saw what it would look like, so I checked the other workflow too, nothing says clear.Screen Shot 2022-03-09 at 12.16.54 PM.png

Rilwan Ahmed
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 9, 2022

Hi @Heidi Gibson ,

The last suggestion I can provide is, delete the automation rule. Recreate it.

0 votes
Laura Campbell _Seibert Media_
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 25, 2022

@Heidi Gibson You mentioned getting data from ProForma; have you looked into the documentation from ProForma?

"accessing form data directly using Automation for Jira is not officially supported and there are currently some significant limitations."https://docs.thinktilt.com/proforma/Jira-Automation-(Cloud).1571291510.html

The documentation explains some work arounds.

0 votes
Curt Holley
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2022

What happens if you remove the 2022 Portfolio name configuration from the rule? As it should copy it over regardless as part of the Clone issue action.

Heidi Gibson March 8, 2022

It doesn't copy anything over, remains blank. I tried changing the clone action to a create issue action and same result.

I tried JSON, smart values, everything I can think of all day. I found this: https://www.atlassian.com/software/jira/automation-template-library#/rule/1357384

and it updated the fields, walked away, came back and tested again and it started failing again.

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2022

Hi Heidi - Welcome to the Atlassian Community!

Check the Context for each of the custom fields to be sure that they include the project (and/or issue type) for the new project you are trying to create the issue in. 

Heidi Gibson March 8, 2022

I checked the context and it's Global & Any issue

Screen Shot 2022-03-08 at 9.13.32 AM.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events