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

Jira automation - task paragraph field update posted to comment

Elliott Brown February 17, 2023 edited

Hi,

I am trying to setup some automation around tasks, so that we can have a dashboard that is up to date, along with history in the task.

We have a paragraph field on the task, that we use for the most recent update, which we would like to have any update to that field posted as a comment. I'm just not sure if that is possible with the jira smart values.

Can anyone point me in the right direction or advise if this is not possible?

Edit: trying this; {{issue.[Notes].defaultValue}}, Notes is the name of the field, but that is erroring because by default it is blank, so not the right value.

TIA

1 answer

1 accepted

4 votes
Answer accepted
Tobias H
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 17, 2023

Hi Elliott!

I'm not sure I understand your question, but I want to chime in that .defaultValue will only return the normal state of the field, not any changes that have been made to it.

Let's say your field, Notes, have a default value that says "Please write your notes here"
Which your users then replaces with their actual notes, the .defaultValue would then still return "Please write your notes here"

Elliott Brown February 17, 2023

That makes sense, which is why it's erroring, as the default is blank.

Basically, we have a field that we can put notes in, so when a note is added/edited, I would like that value adding as a comment.

Tobias H
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 17, 2023

I've tried it myself right now, so what you want to do is a two step automation like this: Screenshot 2023-02-17 at 12.59.16.png

  1. When: Value changes for Field [Notes]
  2. Then Add comment.
    1. You can use only {{issue.[Notes]}} and it will duplicate the current content of the Notes field, whether if the issue was just created or changed at a later date
  3. Remember to uncheck the "Prevent duplicates" box, or else it can only run once per issue.

Here's an image of it in actionScreenshot 2023-02-17 at 13.01.37.png

Elliott Brown February 17, 2023

That's got it working, thanks Tobias!

Like Tobias H likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events