Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
44
-
Minor
-
51
-
Description
Summary
Automation functions don't work on the Assets attributes.
The datetime functions don't work on the Assets object date or dateTime attributes:
Steps to Reproduce
- Add a date attribute to one of the object types and set a value for an object
- Create an automation rule that gets triggered when an object gets updated and add an action to create an issue and try to copy the date attribute of the object to the date custom field of the issue
Expected Results
Able to copy the value using the datetime functions:
{{object.AttributeName.jqlDate}}
Actual Results
The date and time functions do not work on the Insight object date, dateTime attributes. The below smart value is empty:
{{object.AttributeName.jqlDate}} {{object.AttributeName.toDate}}
While the below smartvalue returns the date:
{{object.AttributeName}}
Though these functions work on the Created and Updated attributes of the Insight objects.
{{object.Created.jqlDate}}
Workaround
- Create a variable "datevar" to store the date value:
object.AnotherDate
- Then use the below functions on the variable name:
{{datevar.toDate.jqlDate}}
We have an example listed on this kb: https://confluence.atlassian.com/display/JIRAKB/Update+Insight+object+attribute+values+using+automation
Attachments
Issue Links
- relates to
-
JSDCLOUD-12733 Automation text functions do not work on the Assets object and field attributes.
-
- Gathering Impact
-
-
JSDCLOUD-12734 Automation List functions do not work on the Assets object and field Select List attribute
-
- Gathering Impact
-
-
JSDCLOUD-12831 Automation smart value math functions do not work on the Assets object and field Integer attributes
-
- Gathering Impact
-
-
JSDCLOUD-12834 Automation conditional logic does not work on the Assets objects and fields
-
- Gathering Impact
-
-
JSDCLOUD-10081 Ability to use Send email action for Insight group attribute
- Gathering Interest
- mentioned in
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...
-
Page Loading...