Forums

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

Can you access rule properties in a rule?

Steve Tedeschi
Contributor
January 11, 2024

Most of my rules add a comment noting that the rule modified the issue. Is there a way to access Rule properties within a rule?

Looking to add a comment along the lines of:
"Issue transitioned to Canceled by Rule 1234 because parent ticket, XXX-1234, was canceled"

"Issue transitioned to Canceled by {{rule.id}} because parent ticket, {{"Parent Link"}}, was canceled"

 

Referencing {{rule}} in a comment shows the following properties (ID is not one of them):

{name='[my user name]',

key='[my user id]',

accountId='[my user id]',

emailAddress='[my user name]',

displayName='[my display name]',

active=true,

timeZone='America/New_York',

locale='en_US'}

1 answer

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Champion
January 11, 2024

Hello @Steve Tedeschi 

You can use this smart value to reference the name of the rule:

{{rule.name}}

Steve Tedeschi
Contributor
January 12, 2024

@Trudy Claspill - Thanks!

Suggest an answer

Log in or Sign up to answer