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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

JSM Automation Email -adding Cascading Fields and other field types

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 Feb 03, 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

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
Community showcase
Published in Jira Service Management

Submit your Jira Service Management use case and win!

Hi everyone - in case you haven’t heard, we’re hosting the show of the century on November 10th: High Velocity: ITSM World Tour.     This virtual, concert-themed experience...

285 views 1 10
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you