Forums

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

How can I use a custom field while Comment Issue Action in Jira Automation?

Karanpreet Kaur
Contributor
April 18, 2017

Hi All,

I have a user picker custom field that I am trying to use in Jira automation module for user followup.

What I have right now is :

Type: JQL Filter Trigger
JQL expression : project = ABC AND status = "Awaiting approval"
CRON schedule : 0 */1 * * * ? *

Comment Issue Action : 

Hi ${issue.get("Owner Name")} , This is a followup reminder ....

 

But this ${issue.get("Owner Name")} doesnt work. It just appears as text in the comment, rather than resolving to some value.

Can someone please help me with the options that I can use here.

 

Thank you,

Karan

1 answer

0 votes
Jack Brickey
Community Champion
January 12, 2022

Hi @Karanpreet Kaur ,

Assumption- you are using the built in Automation based on Automation for Jira?

Further I assume this is a project rule vs. global? If so you don't need to check the project. Here is what I suggest...

trigger - scheduled daily or use your cron

condition - field condition on Status equal  "Awaiting approval"

Action - comment Hi {{issue.Owner Name.DisplayName}} , This is a followup reminder ....

I believe the display name is needed here.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events