update custom field when Jira issue commented through Automation

Bhavin Acharya May 31, 2021

Hello,

I want to update Jira issue custom field, capture current user who is making comment on Jira issue through Automation.

Can anyone help me?

Thanks in advance,

Bhavin Acharya.

1 answer

1 accepted

1 vote
Answer accepted
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2021

Hi @Bhavin Acharya You can do this easily :- 

Select Trigger “Issue Commented” >> Action “Edit Issue Field “ >> Select Field which you want to update >> put in description of field 

{{ issue.comments.last.author.displayName}}

then Save 

 

Thanks

V.Y

Bhavin Acharya May 31, 2021

Thanks @Vikrant Yadav

Please find attached screenshot.

I got your solution till second-last step of your comment but could not get your last step i.e. "put in description of field". Where can I find description? can you please guide me?Capture.JPG

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2021

Hi @Bhavin Acharya  First Select the field which you want to update>> Is it a text field or User Picker ?

If it's a User picker :- {{issue.comments.last.author}}

Edit issue.PNG

 

Thanks

Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2021

For user picker :- User picker.PNG

Bhavin Acharya May 31, 2021

Thanks @Vikrant Yadav it works...

Like Vikrant Yadav likes this
Vikrant Yadav
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 31, 2021

Cool :) Glad to hear it helps you.

Suggest an answer

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

Atlassian Community Events