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

{{issue.duedate}} is returning blank in comments (acp 620 training course)

IQ Papelerias IQ Papelerias
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2024

Hello! I am new here and thank you so much for allowing this space for questions. As the title reads, I am going through the training course for the acp 620 and in the section where we use smart values for automation.

Specifically, we created a rule where when a story is changed to in progress, to assign a due date 5 days out, which I have managed to assign using the {{now.plusBusinessDays(5)}} smart value. It populates the due date as expected. Afterwards I have an and rule, that reads: add comment to issue:  

"

The due date has automatically been set to: {{issue.duedate}}


The priority is: {{issue.priority.name}}

"

 

When I test my automation, I move a story to in progress, the due date is populated, but the comment is also populated as follows:

image.png

 

The comment is populated but missing the due date used, in this case June 11th. Any thoughts? Thank you so much in advance

 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
3 votes
Answer accepted
Andrew _Zim_ Zimmerman _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2024

Hi @IQ Papelerias IQ Papelerias,

Just to try it out, can you see what happens if you add a "Re-fetch Issue Data" action component in your Automation rule, right before the component which adds the comment?

If that doesn't work, can you share a screenshot of your automation rule here?

Best,
Andrew

IQ Papelerias IQ Papelerias
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 3, 2024

That did the trick! Thank you so much. Oddly enough, the training course did not mention doing that or anything. Thanks again!

Andrew _Zim_ Zimmerman _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 3, 2024

@IQ Papelerias IQ Papelerias right on! Happy to hear that.

I've noticed that sometimes the re-fetch is needed for Automation components that use smart values to reference other elements on an issue that were set/updated earlier in the same automation rule.

Glad it worked for you! 

TAGS
AUG Leaders

Atlassian Community Events