Forums

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

Target Date change- Automation

Anuradha Yadav August 21, 2024

Hi Team,

We are unable to see the changed target end in the comment section after the automation rule is successful.

Could you please help. I am sharing the Automation details below:

 

 

The Target End has been changed by: {{initiator.displayName}} to a new Target End of: {{issue. Target End}}

Capture.PNG

2 answers

2 accepted

0 votes
Answer accepted
Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 21, 2024

Hello @Anuradha Yadav 

Please share more details so community can help. Especially, put some log statements inside your rule to capture {{Target end}} field and share audit log screen shot.

Cause we cannot tell if rule is putting a comment but Target End date is empty, or rule is not even putting a comment..  But at a high level your rule looks good so please add log statement and share audit log. Thanks.

0 votes
Answer accepted
Manoj Gangwar
Community Champion
August 21, 2024

Hi @Anuradha Yadav ,

Welcome to the Atlassian Community!

Please try to use a custom field ID instead of a name.


Please refer to the below doc for the smart values.

https://support.atlassian.com/cloud-automation/docs/examples-of-using-smart-values-with-dates/

Anuradha Yadav August 21, 2024

Hi @Manoj Gangwar ,

Thanks I will check if I can get customfield ID.. Because I do not have Admin access. 
but Meanwhile is there any other way?

 

Manoj Gangwar
Community Champion
August 21, 2024

Using the Advanced JQL view

Using a combination of the ListView and advanced JQL, we can identify the ID of a custom field that's listed on the results.

(info) This option does not require Jira Admin rights.

 

Create a simple JQL to return an issue that had the field that you want.

After running this query, switch to the "List View" if not already.

Add the field you want as a column in the results.

Click on the name of the field in the column to order the results by this custom field.

Now switch the JQL type to Advanced if not already.

The ID of the field will be listed in the ORDER BY clause.

Like # people like this
Anuradha Yadav August 24, 2024

@Manoj Gangwar with the customfield ID it is still not working.

target end not displaying.PNG

 

target end is not displaying after customfiel ID.PNG

Kalyan Sattaluri
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 25, 2024

hello @Anuradha Yadav 

its just customfield_11629 not customfieldID_11629

so please change it to {{issue.customfield_11629}} in your email template and try..

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events