Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to how to set the comment property of an attachment with ifttt, action rule, or JS

Brian Freeman
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!
September 7, 2018
I noticed confiforms has the asAttachment virtual function, in which you can get properties like so [entry.field_name.asAttachment(0).comment . But instead of getting I would like to some how set a comment for each file that users upload on my confiform to a text in one of my other fields. I don’t know how to access this method with virtual functions or JS.

1 answer

0 votes
Bill Bailey
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 15, 2018

Not sure you got an answer or figured it out, but if you are righting a macro, you can simply use the setComment() method. For example:

$attachment.setComment("Test Comment")

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events