Forums

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

How can I use condition on custom field ?

Boris Demain February 19, 2019

Hello, I want to use two lister-field to automaticaly complete a third list field.

Like :

if field 1 value = hight and field 2 value = low
then field 3 value = medium

How can i do this ?

Thanks for helping

2 answers

0 votes
Alexey Matveev
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 19, 2019

Hello,

You are on Cloud, that is why the solution provided by @Raja Shekher Kammara will not fit you.

You still can still use the ScriptRunner add-on, but the code wiil be different.

Also you could use the Power Scripts add-on.

You could create a post function with a code like this:

if (#{field 1} == "hight" and #{field 2} == "low") {

  #{field 3} = "medium";

}

You can find more information about post functions here:

https://confluence.cprime.io/display/JJUPIN/Customizing+workflows

Boris Demain February 19, 2019

Sorry for this not enouth specific question.

I want to increment the Priority of issu with two customfield.

First one is "Criticity" (customfiel_10042) and second one is "Impact" (customfiel_10040) 

I would not us add-on. Is it possible with writting in "description" field ?

Capture.PNG

Alexey Matveev
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 19, 2019

It will not work on Jira Cloud

Like Emmanuel GENDROT likes this
Emmanuel GENDROT February 19, 2019

Hello Alexey,

We are currently working on Jira Cloud (small configuration = 10 users). We are prototyping the JIRA configuration for a customer of our's (large installation = 500 users). The customer will use JIRA Server. Background is a migration project from HP ALM to JIRA + SQUASHTEST (we are editors of SQUASHTEST).

So we will finally need a solution appropriate for JIRA Server.

But we currently need to evaluate and demonstrate the solution to the client ... on our prototype on JIRA Cloud. 

I understant that on jira server, we will be able to script our conditions directly in the fiedls. (agreed?).

Can you advise which plugin we could use to get on JIRA Cloud a behavior close to what we will be able to do on JIRA Server?

A little bit twisted, I must say ... Thanx anyway for your attention and help

0 votes
Raja Shekher Kammara
Contributor
February 19, 2019

Hi Boris Demain,

Please take a look at this article -https://community.atlassian.com/t5/Questions/How-to-add-condition-in-custom-field/qaq-p/221366

Hope this helps.

Warm Regards,
Raja

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events