We have a Jira Cloud Support Desk instance, and have a requirement to track customer credits used. Cloud limits a lot of what we can do, so I hope someone has a way to do this, whether through extreme-Ninja JQL, plugins, or some combination of the two. Here's the use case;
Each support desk customer has a monthly allotment of credits; to make this easy, we'll say the monthly allotment is 10, but in our use case we need to be able to assign different monthly credits per customer/project, eg Customer A has 10; Customer B has 25. I'm assuming for the moment this would be set as a project-level custom numeric field, Monthly Credits. As issues are created, they have a Credits Used value per issue, based on issue type, eg Support Request is worth 1 credit, Enhancement Request is worth 2. We sum those per calendar month, then have a calculated field Credit Balance that is (Monthly Credits-(sum of Credits Used in <current calendar month>)+(Monthly Credits-(sum of Credits Used in <previous calendar month>)