Forums

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

JSM Automation Email -adding Cascading Fields and other field types

Sheree MacNinch
Contributor
February 2, 2021

Looking for how to reference specific fields in email generated by automation.

I need:

Issue Type:  Request or Incident or Problem or Change - icon would also be great here

Request Type:  (This is customized)  Type of Service Requests  (Projects/ProjNm/Project settings/Request types)

Request Area:  Option1Parent - Option2Child (Select List (cascading) type field)

Issue Create Date: {{issue.created.jqlDateTime}}
Assigned Date: {{now}}
Issue Resolution Date: {{issue.resolutiondate.asLongDateTime}}

_________________________________________

Issue Type:  {{issueType}} -> gives 10029

Request Type: {{issue."IT Request Issue Type".value}}  -> only gives one first half of cascade but not last.

Request Area:  {{issue.customfield_10066}} -> only shows the rest api, the information is in there, how do I get the value of both parent and child.

Dates to have same display format.  My issue is that {{now}} is an unexpected format like 2021-02-02T15:56:32.2+0000.

1 answer

1 accepted

0 votes
Answer accepted
Guilhem Dupuy
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 3, 2021

Hi @Sheree MacNinch ,

I'll give you a list of the smart values you could use :

  • Issue Type : try {{issue.issueType.name}}
  • Request Type : for the child value : ({{issue.IT Request Issue Type.child.value}}, for the parent value : ({{issue.IT Request Issue Type.value}}
  • Request Area :  {{issue.customfield_10066.value}}
  • Assigned Date{{issue.resolutiondate.shortDateTime} or {{now.shortDateTime}}

If you need more info, I suggest you to have a look at the following page : https://support.atlassian.com/jira-software-cloud/docs/smart-values-general/

 

Let me know if it helped,

Guilhem

Sheree MacNinch
Contributor
February 4, 2021

Thank you so much!  That definitely got me to where I needed to be.

The Request Type needed quotes but I realized that right away.

Request Type: {{issue."IT Request Issue Type".value}} - {{issue."IT Request Issue Type".child.value}}

Thank you so much!!

Suggest an answer

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

Atlassian Community Events