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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automatic update of a new field based on values in another field

Trying to implement a requirement where if a field gets updated with the value automatically based on existing data in other fields.

 

For example, lets say there are 2 fields Field A, B,.

A is a standard field and B is Custom field

 

I need to set B to value based on value of A

Like if A = 1 Set B = 100

if  A = 2 Set B =100

If A= 3 Set B =200 etc..

Any idea how this  can be done in JIRA Cloud?

Thanks.

1 answer

1 accepted

1 vote
Answer accepted

Hello Mahesh,

Welcome to Atlassian community!

Are you expecting the field B to update as soon as you add the value to the field A or after you finish the field edit?

Unfortunately, JIRA does not have this feature natively, however, you can use Automation for JIRA add-on to achieve it. You just need to create the following rule.

Screen Shot 2019-03-29 at 18.43.35.png

With the rule above, the field will be automatically updated after the edit is finished and will replace any possible value manually added during the issue edit in the Field B.

P.S: I used the field Application as field A and Begin Date as field B.

Let us know if this information helps.

Hi Petter,

Thank you for this method.
I implemented it today and that's work very well.

I would like to run this automatic rule only once for a list of tickets, to put value FieldA on FieldB. Do you know-how could do that?

Thanks.

Hello @Soumya Djefel

You can ensure the rule runs only once for your issues by adding a custom field to identify those issues and create a condition in your automation rule. These would be the exact steps:

  1. Create a custom field to identify the issues that were already updated by the rule. This can be a text field.
  2. Keep the field hidden on your project screens, so users can not edit or see it
  3. Create the following automation rule, blocking the rule if it is running for the second time, and editing the custom field with the value if this is the first time:

    Screen Shot 2020-10-28 at 13.52.03.png

Let us know if you have any questions.

Like Soumya Djefel likes this

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you