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

Clone Issue To New Project and Maintain Original Reporter

Bruce Robinson June 16, 2021

I am trying to set up a simple Jira Automation rule and no matter what I do, I cannot maintain the original reporter for the issue.

The trigger is set to fire when the Team for an issue in our main project (PF) is edited. Based on which Team is chosen, that issue needs to be Cloned into the corresponding Team's project (for example, PF1) so that we can keep the original field values and attachments.

However, it is vitally important we know who the original Reporter (i.e., creator) is, so teams can make sure to loop that person into essential development conversations. As of now, I have tried so many (literally countless) variations of smart values and ways to set up the rule that I've found on these forums (a handful which appear to work for others, even) but none of which work for me. I can't possibly list them all out, so just please trust me.

As of now, the "Automation For Jira" user has all necessary permissions to edit the reporter in any of our projects (PF, PF1, PF2, etc.) and I do as well. No matter who the actor is, I can't change the reporter. The field configurations across projects are exactly the same, and as such, Reporter is available across all of our projects. All users in our system are also available to be chosen a Reporter in PF or PF1.

I get this particular error most often, no matter how I set up the rule: "Unknown fields set during clone, they may be unavailable for the project/type. Check your custom field configuration. Fields ignored -Reporter (reporter)". It is extremely vague, and as I've mentioned, I've checked permissions and field configurations numerous times and do not see any issue. I've tried various smart value syntaxes that I've seen but have no way to corroborate what is the right one, since other users on these forums have had success with different styles of writing and/or using the smart values, but none work for me in this case.

Does *anyone* have any idea why this isn't working or the actual correct way in June of 2021 to make it such that the cloned issue can maintain the original reporter? I'm thinking of throwing the display name in the Description text field, but that's less than ideal. I'm at my wits end with this, so any help at all would be appreciated tremendously.

1 answer

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2021

Hi @Bruce Robinson 

When I tried that in an automation rule, copying the Reporter from the trigger issue, it worked for me.  I have noted posts for that error message/symptom when either the target field was not on showing the page view configuration or a duplicate custom field of the same name had been created.

Would you please post an image of your rule and the audit log?  That may give the community some context to try to offer suggestions.  Thanks!

Best regards,

Bill

Bruce Robinson June 16, 2021

Hi @Bill Sheboy,

I appreciate your willingness to help, but I'm concerned if I show the rule as it is now, after I've tried tons of different ways to do this, that it will just cause me to go through all the same steps I've already done. I'm really trying to avoid running over the same ground because I simply do not have the time to retrace steps. Would you instead be willing to show me how your successful rule is set up to get the Reporter from the trigger issue, so I can affirm whether or not I've tried that method already? I think that would save me a great deal of time, if you wouldn't mind doing so. Would be happy to go through some of the scenarios that did not work for folks in the community after that.

Also, I can confirm that the target field "Reporter" is showing on the page view configuration for both projects (they are essentially identical projects in their configuration). I can also confirm that there is not a duplicate custom field of the same name. As I mentioned above, this is the error I'm primarily battling with from my audit log:

Screenshot 2021-06-16 161938.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2021

Can do!  Here is what I did:

  • Selected the clone action
  • Selected the fields I wanted
  • Selected the reporter field, selecting the ... at the right of the field and the option to copy from current issue

 

clone reporter.PNG

Bruce Robinson June 16, 2021

Ahh ok, thanks so much @Bill Sheboy! Unfortunately, this hasn't worked for me. I'm assuming it's because I'm not cloning in the "Same Project," but rather, I'm choosing a different project (original issue in "PF" and cloned issue in "PF1"). I think that's why I'm banging my head against a wall...same users with the same access and permissions to both projects, same field configurations, same screen configurations, yet I cannot get it to work. Thanks so much for your help, regardless! I'm just assuming at this point it's just not possible to do across projects with Jira Automation, at least at this time.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 16, 2021

One more thing to check: is this a project-scope automation rule, or a global-scope rule?  If this a project-scope one, I found an open defect for this problem/symptom: 

https://codebarrel.atlassian.net/browse/AUT-1495

If this is global-scope, I believe that should work, and so please consider asking your site admin to submit a defect to Atlassian support here: https://support.atlassian.com/contact/#/

Like Bruce Robinson likes this
Bruce Robinson June 16, 2021

Thanks again @Bill Sheboy for putting in all this leg work - really appreciate it! I bookmarked the Jira Public Tracker for Automation, now...but surprised through all my outside searching, I never stumbled upon that ticket somehow. 

I altered the rule to test this out and it still does appear to be an issue for us here. I will be in contact with our site admin tomorrow. Thanks so much for your help!

Like Bill Sheboy likes this
Matt Baillargeon January 25, 2024

Has anyone else figured out this issue? We are looking to clone a ticket from one project to another but the reporter will not copy over. Instead "automation for Jira" will be assigned as the reporter and it locks the field.

To the end user the ticket disappears for them.

Like hchentir likes this
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2024

Hi @Matt Baillargeon 

I wonder if this is related to the Modify Reporter permission.  You could test that by changing the rule actor to a user who has that permission and see what happens.

If it works, that may be a defect that the Automation for Jira  user does not have that permission, and you could consider logging it with Atlassian.

Kind regards,
Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events