Need to apply automation on due date & time based on the custom filed.

Kumari dvipa April 5, 2024

Hi,

I need to apply automation on "Due Date & Time" based on another custom filed. 

I have create a one custom filed which is "Stuffing Date". So, I need to apply automation rule on "Due date & Time" according to "Stuffing Date".

For Example: 

From Stuffing date plus 10 days more. 

 

How I can do that?

 

Please help me.

Thank you,

Dvipa

5 answers

1 vote
Kumari dvipa April 7, 2024

@Valerie Knapp @Mark Segall @Bill Sheboy 

Thank you so much for your help.

1 vote
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2024

Hi @Kumari dvipa 

You'd want to do something like this on an Edit Issue action against the "Due Date & Time" field:

{{issue.Stuffing Date.plusDays(10)}}

 

Kumari dvipa April 5, 2024

Hi Mark,

Yes. I try that rule which you have shared. But that rule is not working. Please help. 

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2024

Can you please share a screenshot of the rule as it stands now so we can better help you?

Kumari dvipa April 5, 2024

Thank you Mark for your reply.

Sure, Capture.PNGI have attached screenshot of that rule. Please check and help me. If I am applying anything wrong.

 

Thank you. 

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2024

Hmm... It looks like your smart value is correct. Can you confirm that "Stuffing Date" is a date field?

If it is, let's try this:

  1. Add a Log Action component to your rule and use that same smart value
  2. Execute the rule again
  3. Share a screenshot of the rule's Audit Log

If it's not a date field, we'll need to take additional steps to convert the Stuffing Date field.

Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 8, 2024

Nevermind - I didn't read all my email messages.  It looks like @Bill Sheboy was able to help you get resolution.

0 votes
Kumari dvipa April 7, 2024

Now, I am stuck another issues.

1. I need to create automation rules for our all project. According to our shift time. 9 am to 6 pm.
Once the user move a ticket to one status to another status, then next " due date & time" It will be reflect in our working shift.

Actually, I added a custom field in our project, that filed name is " Due date & time" and I have applied automation on each status for 2 hours( need to complete that ticket within 2 hours). If user move the ticket in another status by 5:30 pm then It reflected "due date& time", by 7:30 pm.

How I can fix this issue?

2. I'm stuck in "Delay in days" field.
Once the "due date & time" passed then it will reflect under the "Delay in days" filed. Like 4, 5, 6 days in delay. Like this.

Please help me on this issue.

Thank you.

0 votes
Bill Sheboy
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.
April 6, 2024

Hi @Kumari dvipa 

Adding to Mark and Valerie's suggestions...

You may have the incorrect smart value for your field.

Smart values are name, spacing, and case-sensitive.  And the smart value may not match the exact display name for a field on the issue views.  When the wrong value is used, it will be replaced by null, often raising no errors when the rule runs.

To identify the correct smart value (or custom field id) for your field, please use this how-to article: https://support.atlassian.com/cloud-automation/docs/find-the-smart-value-for-a-field/

Kind regards,
Bill

Kumari dvipa April 6, 2024

Hi Bill,

Thank for this information.

I am not able to find exact error. Can you please let me know. either please write  Smart value.  here. Please help me. 

 

Thank you,

Dvipa

Bill Sheboy
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.
April 6, 2024

Please try my suggestion to use that how-to article to identify your smart value in your Jira site.  Only the users logged into your site will be able to do so.

Kumari dvipa April 7, 2024

Now, working.

Thank you so much for your help. 

Like # people like this
0 votes
Valerie Knapp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2024

Hi @Kumari dvipa , thanks for your question.

You should be able to find some worked examples for how to create this rule in the Automation Playground, like this one https://www.atlassian.com/software/jira/automation-template-library/rules#/rule/1357059/25937333 

Then, you will need to figure out how to reference the custom field in a smart value but there is also documentation to support with this here - https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/ 

I hope this helps. If you get stuck or want to show the rule and your progress, please just write again in this question and either I or someone else will try to assist.

Cheers

Kumari dvipa April 5, 2024

Hi Valerie,

Thank you for your help. Please sent me the step as well. Like How we can do that?

 

Thank you.

 

Suggest an answer

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

Atlassian Community Events