Forums

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

How Can I renew the value with selected value result

Kağan ARDIL
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2023

Hello,

In my system we are using a calibration dates for every device in our system. Also we are givin points to the our device. I want to change the calibration date with chosen answer. At the bottom you can see the screenshot for that. 

The work flow we be 

First step I will choose Performans Puan Kategorisi (A,B,C one of them)

Second step  If I choose "A" ı want to change Planlanan Denetim Tarihi (its based on "Son Denetim Tarihi") This change will be "Son Denetim Tarihi" + 1 year

That rule will change with every choose ( with A it will be 1 year, B 2 years, C etc.)

 

ads.png

1 answer

0 votes
Carlos Faddul
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.
February 15, 2023

@Kağan ARDIL how are you ?

You can make this using a rule in Automation. :)

Trigger ->Field value changed  (select the fields "Performans Puan Kategorisi", "Planlanan Denetim Tarihi" and "Son Denetim Tarihi"

New condition -> compares the value of the field "Performans Puan Kategorisi" and set value to a create variable (in the case i will named of "varVariable") of automation 

  • if "Performans Puan Kategorisi = A " then varVariable = 1
  • If "Performans Puan Kategorisi = B", then varVariable = 2
  • If "Performans Puan Kategorisi = C", then varVariable = 3

(something like this )

Then you can use the variable to do something like this in your field

{{issue.DATE_TO_SET.plusYears(varVariable.asNumber).format("yyyy-MM-dd")}}

Note, here i am add Months, no

I don't know which language do you use in your jira, so maybe you be need to adjust the solution :)

I hope I helped you.

If this post was helpful, mark it as "Accept Answer" , so you can help others who may have the same difficulties.

If your question has not been resolved, please post again with more details.

Suggest an answer

Log in or Sign up to answer