I'm rather new to this, why isn't this working?
javascript:var sum = 0; jQuery('.aui-badge[title="Story"]').each(function() {sum += parseInt(jQuery(this).text())}); alert('User Stories: ' + sum); void(document.close());
@Mike Singleton I think I get what you're trying to do. Where are you in Jira when you're running this bookmarklet? In a scrum board's backlog view? Or somewhere else?
Welcome @Mike Singleton
would you please add a bit more information?
where are you entering that java code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am tring to count the number of User Stories (and only those) in the backlog. I tried a JQL, but it's not perfect so I am trying a bookmarklet
project = ACME AND issuetype = Story AND resolution = Unresolved AND (Sprint = EMPTY OR Sprint not in (openSprints(), futureSprints(),closedSprints()))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sorry for the late answer.
your jql looks good, what is the result of this filter shown in your environment tho?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It works, but I was hoping for something quicker than a gadget
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, understood. I‘ll try to loop in a Java specialist
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.