Creating new values for a cascading custom field in Jira

Hi ,

I have a custom field called as total budget which has some values and every time the person uses the amount from the total budget, it should reflect the remaining budget.  How can I achieve it. ANd next time when any user logs in he should see the remaining budget in the custom field. Can you kindly help me achieve it.

 

Regards,

Ankita.

2 answers

0 votes

That's not goingto work with a cascading select.  A select list needs a fixed set of data to work with, and values stored on issues must be on that list for it to work.  So, "reflect the remaining budget" is a complete non-starter because you'd need code to destroy the data you'd been entering (if you wanted the field to work at all)

If you have a fixed list, it will work.  You'll then need some code to calculate and display the remaining budget.  Do you have one of the scripting add-ons?

Hi Ankita,

We could possibly figure out how to make that happen but what if you can't remember if you have applied and expense?

I think a slightly better way would be:

  • Parent has fields "Budget" and "Balance"
  • Sub-Tasks called "Expense" get added to the parent ticket for each expense in a field called "Value"
  • Balance (parent) = Budget - each expense in sub-tasks

If possible to work it this way let me know and we can show you how.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

440 views 7 5
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you