condition on custom field

Umar Maroof December 25, 2022

I have two number custom fields in my project lets suppose 

num custom field 1

num custom field 2

I want to resistrict custom field 2 

like if I enter any number in custom field 1  so when someone try to enter the number in custom field 2 it is not greater than the double of the custom field 1 value.

for example if I enter  5 in custom field 1 then in custom field 2 we cant able to enter the number greater than 10..either its less than 10 or 10.

how can I achive this?

I am using jira cloud.

 

1 answer

0 votes
Vamsi Kandala
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.
December 25, 2022

Hi @Umar Maroof

You can use 'Behaviors' if you have 'ScriptRunner' installed.

Thanks,
Vamsi

Umar Maroof December 25, 2022

@Vamsi Kandala  I dont have Scriptrunner. It cant be done by automation?

Vamsi Kandala
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.
December 25, 2022

Hi @Umar Maroof

You can install ScriptRunner and try.

Automation rules can be used only for checking after the transaction was completed like when the ticket was created.

Or, you can use 'Validators' in the workflow for the transition link connecting the 'grey' circle and the first status of the workflow ('Create' transition).

Thanks,
Vamsi

Mario Coluzzi May 12, 2024

Not an answer @Vamsi Kandala if the user explicitly said "I do not have Script Runner" . . . because I have the same issue

Suggest an answer

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

Atlassian Community Events