Automation: Copy value from "Original Estimate" field to custom field

mark_liebold
Contributor
October 18, 2024

Hello,

we are using Miro and the JIRA Plugin to display the issues as cards for High-level planning. Unfortunately, the plugin does not support certain fields like "Original Estimate", which is important for us.

I figured that a workaround could be to copy the value from the "Original Estimate" field to a custom field (a number field, that won't appear in any of the screen schemes) and have this then shown on the issue cards in Miro.

I tried to set up an automation, also with the information I got from questions related to the "Original Estimate" field regarding automations, but I could not get it to work yet. 

 

My approach so far...

Screenshot 2024-10-18 at 16.59.51.png

 

Does anybody have an idea how I could configure the automation? 

Thank you,

Mark

2 answers

0 votes
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.
October 18, 2024

Hi @mark_liebold 

If you want to copy your custom field into the Original Estimate, shouldn't the Edit Issue action copy that custom field and not the Original Estimate back to itself?

Also, there is only one issue in scope for this rule.  Why does your custom field copy its own value back to itself in the edit?

Finally, this rule is triggered by a change to time tracking (checking Original Estimate with a condition), but you describe that field could not be set from the Miro card.  When do you want this rule to run?

Kind regards,
Bill

mark_liebold
Contributor
October 23, 2024

Hi Bill,

no, I want to copy the value from the Original Estimate to a custom field.

The value change trigger is there for test reasons for myself (having a test ticket and changing the value there to see if the automation works), it will be a manual trigger once the actual configuration for copying the field is in place. 

I want to run the rule once to update the custom field to get the value from the Original Estimate field. On Miro I can show the custom field. This way I can get have Original Estimate also on a issue card on Miro. 

 

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.
October 23, 2024

In that case, your custom field (for display in Miro) should be set based on which value you want to show, and there should be no need for the advanced edit with JSON:

As a number of seconds: {{issue.timetracking.originalEstimateSeconds}}

As a human-readable, pretty printed, calendar / time value: {{issue.timetracking.originalEstimate}}

 

0 votes
Marc - Devoteam
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.
October 18, 2024

Hi @mark_liebold 

Can you show screenshot of the automation you have setup.

This will help community members to get an insight in you way of thinking and the setup.

mark_liebold
Contributor
October 18, 2024

Thank you for the feedback. I have added a screenshot. 

Like Marc - Devoteam likes this
Marc - Devoteam
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.
October 23, 2024

HI @mark_liebold 

Original estimate is not a number but a Time format.

You could copy the value into a text field, can Miro show this on a card(as this is related to your request)?

Example

Screenshot 2024-10-23 at 12.24.39.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events