Forums

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

Set Priority value based on data field

Lakshmi CH
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.
June 29, 2020

Hi Team,

Can you please how to set this using behaviours. I have already changed the priority value based on other field values, but not able to do with data.

If issuetype in (Bug, "Change Request") AND Need By Date is a date in the past then set Priority=Critical.

 

This is based on select field value,

{noformat}

if (getFieldById(getFieldChanged()).getValue() == "Yes") {
     getFieldById("priority").setFormValue("Blocker")
}

{noformat}

1 answer

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.
July 17, 2020

Hi @Lakshmi CH 

Is this question a duplicate of the later questions you posted:

https://community.atlassian.com/t5/Jira-Software-questions/Change-the-priority-based-on-dates-on-an-everyday-basis/qaq-p/1426819

https://community.atlassian.com/t5/Jira-Software-questions/Set-Priority-value-based-on-custom-date-fields/qaq-p/1422203

If so, would you please mark this one as answered and then people can refer to the later answers.

Thank you, and best regards,

Bill

Suggest an answer

Log in or Sign up to answer