I need to write a condition in post function ..
Have custom field called Value and it has amount and currency as a list..
Need to achieve that if Value has field amount then user need to enter amount and if value is currency it has to be selected from drop down.
Can you please help.
This requirement wouldnt be a post function activity but a validator on the data that is entered by the user.
It is not possible out of the box but if you have plugin like scriptrunner, you can look at adding these conditioned actions as a validator. Similar use cases in https://scriptrunner-docs.connect.adaptavist.com/jiracloud/validators.html
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