Are you in the loop? Keep up with the latest by making sure you're subscribed to Community Announcements. Just click Watch and select Articles.

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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Depending on custom field value populate another custom field with approver.

I have a custom field called Estimated Price, which has three options. 

1. [0-5000 USD]
2. [5000-50000 USD] 
3. [>50000 USD] 

What I want is the following Approvers field to be populated with a certain user depending on what option you choose for the Estimated Price custom field. 

Is this possible to achieve somehow? 

Best regards, 

Jesper

2 answers

0 votes
Karyna Tyrnavska _SaaSJet
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
Sep 20, 2022

Hi, @Jesper Fransson !

You can try out Business Process Manager add-on to deal with it issue. 

  1. You need to create a Step with such form elements: dropdown or multi-choice and fill it with information. In your case 
    1. [0-5000 USD]
    2. [5000-50000 USD] 
    3. [>50000 USD] 

image.png

2. After that, set a Conditional step that will start depending on the certain option. And also feel it with information

3. After you fill in all data, set a multiple or single approval to the Conditional Step.

4. And the final, go back to the first step and set a Form Logic with when/then rule

image.png

I know, that it sounds a little bit difficult, so I suggest you get assistance from our product manager to 

Thanks alot for your input @Karyna Tyrnavska _SaaSJet 

However, I'm not interested in getting a new app solemnly for this purpose. 

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 20, 2022

Hi,

You can try to create an automation rule that will update the Approvers field everytime the Estimated price is updated.

Hi Mohamed, 

Is it possible to have automation rules update fields in a form before you've submitted it? Can you create listeners? I've never seen this before. 

Thanks, 

Jesper

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 21, 2022

Hi Jesper,

No this is not possible with automation, it will update the issue once it is created

Hi Mohamed, 

I've tried to set up an automation rule for this with some custom JSON: 

{
     "update": {
         "Approvers": [
            {
                "add": { "accountId": "INSERT_ID"}
           }
      ]
   }
}

But I get:

"Error editing issues - GP-41 (Field 'customfield_10003' cannot appear in both 'fields' and 'update')"

Do you know what I'm doing wrong here?

Best regards, 
Jesper
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 23, 2022

Can you show all this step please

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 23, 2022

Can you try this

2022-09-23 10_27_37-Automation - The Jira of Champions.png

In the "choose field to set" just add the approvers fields and leave the more options blank

Since the field is a multi-user picker, the Approvers field already has a value since the Estimate Price option chosen requires 2 approvals, one approver is chosen by the user posting the ticket and the second approver should be set through this automation.  

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