Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JSM Automation Email -adding Cascading Fields and other field types

Sheree MacNinch 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
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 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
Site Admin
TAGS
AUG Leaders

Atlassian Community Events