Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Sum 2 type of custom filed.

kshridvipa7878 April 10, 2024

Hi All,

 

How I can add 2 type of custom filed. Once Custome filed in a "Date format" & 2nd is in a "Number filed"

Filed name:

1. Full kiting Date: (In a date format)

2. Production days: (In number)

Ater adding the two-custom field, I have to automatically set a "Due Date" of that ticket. 

Requirement:  15th April, 2024 (Full Kiting Date) + 5 Days (Production Days) = 20 th April, 2024 [Due date].

 

Hope I am able to explain in a detail. Please help me. 

I am sharing screen shot which I have applied. That rule in showing success but I am not getting any "Due Date" on that ticket based on automation rule.

SS_1.PNGSS_2.PNG

 

Thank you,

Dvipa

1 answer

0 votes
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.
April 10, 2024

Hello @kshridvipa7878 

After your edit issue,

  • click new component, action, choose "Log Action". Enter this smart value: {{issue.Full Kitting Date}}
  • Then add another log action and enter this smart value:  {{issue.Production Days}}
  • Then add another log action and enter this value. {{issue.Full Kitting Date.plus(issue.Production Days)}}

Finally, trigger this rule and share Audit Log as your first screenshot to understand your values.

Thanks!

 

kshridvipa7878 April 10, 2024

Hi Kalyan,

Thank you for your time.

Still I'm facing same issues, showing success but I am not getting any "Due Date".

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.
April 11, 2024

Hello, Please share screenshot of audit log showing log values. There is something wrong with you smart values we need to review. Thanks!

kshridvipa7878 April 11, 2024

Hi,

Thank you for your message. 

Once I transit the ticket from one status to another status, it showing blank under the "Due date" filed. I am sharing the SS of that automation rule and also sharing that rule which I have applied after Edit issues Filed.  Please check!SS_.PNGSS_Log action.PNGSS_Log action_2.PNGSS_Log Action_3.PNG

 

Thank you,

Dvipa

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.
April 11, 2024

Hello @kshridvipa7878 

The smart values using are not correct so calculation is not being done.

Can you share with me screenshot of the actual fields on the issue.. I think the name of the fields is incorrect..

kshridvipa7878 April 11, 2024

Hi @Kalyan Sattaluri 

Thank again for your message. 

I have attached the actual fields on the issue. Please check. Field.PNG

 

Thank you,

Dvipa

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.
April 11, 2024

Hello @kshridvipa7878 

You have extra semi colon in the log statements, please change the values to exactly below:

  • {{issue.Full Kitting Date}}
  • {{issue.Production Days}}
  • {{issue.Full Kitting Date.plus(issue.Production Days)}}

Also, in your edit issue, change the Due date value to 

  • {{issue.Full Kitting Date.plus(issue.Production Days)}}

Please make these changes and trigger rule and share screenshot.

You are almost there, I promise :)

 

kshridvipa7878 April 11, 2024

Hi @Kalyan Sattaluri 

I have changed but facing same issues, not getting any date under the "Due date" field. 

 

1.Capture21.PNGCapture.PNGCapture1.PNGCapture2.PNGCapture12.PNG 1. IF Condition JQL: "Full Kitting Date[Date]" IS NOT EMPTY AND "Production Days[Number]" IS NOT EMPTY

2. Edit issues: {{issue.full Kitting Date.plus(issue.production Days)}}

3. Log action: {{issue.Full Kitting Date}}

4. Log action: {{issue.Production Days}}

5. Log action: {{issue.Full Kitting Date.plus(issue.Production Days)}}

 

Capture22.PNGAlso I have attached SS of that rule, please check!

 

Thanks again for your time.

Dvipa

 

 

 

Suggest an answer

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

Atlassian Community Events