jira-automation: set comment containing custom field value

Hi,

 

I am trying to set a specific comment when a certain ticket type is created, and I need to show a custom field value.

 

The automation rule is set as follows:

 

Rule Name: Send Incident creation notification on CRITICAL
Status: ENABLED
Actor: level1

Trigger Type: Issue Event Trigger
Issue Event: ISSUE CREATED
JQL expression: issuetype=Incident and Severity=Critical and project in (MY_Project_Template)

Actions
Comment Issue Action
Comment:
NEW Incident notification
||Item||Description||
|Ticket number|$issue.key|
|Description|$issue.summary|
|Start Time (CET)|$issue.created|
|Status|$issue.status.name|
|Market affected|$project.name|
|Service(s) affected|Installation of services & $issue.customfield(12003)|
|Next update (CET)| <TBD>|
|End Time (CET)|<TBD>|
|Impact:|Service installation not working|
|Resolution|To be provided|
|Root cause|To be provided| 

Comment Visibility: Viewable by All Users
Send notification?: Yes

 

When I create such a ticket (Incident/Critical), the comment is set, but the customfield value is not expanded - it is listed as it is:

 

NEW Incident notification

ItemDescription
Ticket number<correct ticket ID>
Descriptiontest #3
Start Time (CET)2016-03-09 00:16:00.0
StatusNEW
Market affectedMY_Project_Template
Service(s) affectedInstallation of services & $issue.customfield(12003)
Next update (CET)<TBD>
End Time (CET)<TBD>
Impact:
Service installation not working
ResolutionTo be provided
Root causeTo be provided

 

Can anyone help me understand how to get this CF value displayed?

 

Thanks,

Gabriel

1 answer

0 votes
Vasiliy Zverev Community Champion Mar 10, 2016

How do you create this notification?

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

66 views 3 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you