Forums

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

{{version.releaseDate}} does not work

Nguyễn Quang December 23, 2024

Hello Team,

 How could I check if the release date of a version is empty? I tried this statement but it does not work: {{version.releaseDate}}

Thanks!

1 answer

0 votes
Trudy Claspill
Community Champion
December 23, 2024

Hello @Nguyễn Quang 

If you are using that in an Automation Rule, please provide screen images that show your entire rule and images of the details of the steps where you are trying to use that smart value. Sometimes the problem with a smart value relates to the context within the rule where you are trying to use it.

Also, are you using Jira Cloud or Jira Data Center? If you are using Jira Data Center, what version are you using? That can affect the functionality available in Automation Rules

 

Nguyễn Quang December 23, 2024

Hi @Trudy Claspill in my automation rule, I wanted to check if a version is created without release date is fulfilled then no action will be done, here is the steps.
234.PNG

Trudy Claspill
Community Champion
December 23, 2024

Based on the screen image I can tell that you are using Jira Server or Jira Data Center. Which are you using? And what is its version?

Regarding the rule you said it doesn't work. How do you know it doesn't work? What is the output in the rule Audit Long when the rule executes?

Like Walter Buggenhout likes this
Nguyễn Quang December 23, 2024

Hi @Trudy Claspill , to be honest I don't know which one I am using and how it call. I am trying to create some automation rule in the Jira Plugin. Hope this picture can help you know what version I am using:

 

How did I know it does not work? I tested it but the condition did not pass so there is no action has been done as this log:

Trudy Claspill
Community Champion
December 24, 2024

I recommend that immediately after the rule trigger you add two Log actions to print into the rule execution Audit Log the two smart values you are trying to evaluate in the conditions. You might want to add a third Log action to print out simply {{version}}. That should print out all the attributes of the version smart value.

The Log action is an excellent tool for debugging rules.

Like # people like this

Suggest an answer

Log in or Sign up to answer