You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
We need to make a dashboard displaying below two values
Epic Name No of stories created under Epic
Please help us to count the stories. We are not able to find any plugin so far so may be script needs to be written. Please help!
If you have scriptrunner, just create a Scripted Field.
The script should look like
IssueLinkManager issueLinkManager = ComponentAccessor.getIssueLinkManager()
Integer stories = 0
issueLinkManager.getOutwardLinks(issue.getId()).each {epicLink ->
if (epicLink.getIssueLinkType().getName() == "Epic-Story Link") {
Issue epicLinkedIssue = epicLink.getDestinationObject()
String liIssueType = epicLinkedIssue.getIssueType().getName()
if (liIssueType == "Story") {
stories+=1
}
}
}
return stories.toDouble()
Issue epicLinkedIssue = epicLink.getDestinationObject()
epicLinkedIssue is not acceptable in code by Script runner Script field?
Any suggestion?
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.
While creating a Script field using Scriptrunner... its giving red indicator.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Just add the line
import com.atlassian.jira.issue.Issue
at the beginning of your script ? (that's just very basic groovy knowledge …)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
You would need an add-on for it.
You could also use the Power Custom Fields Premium add-on:
You could create a SIL custom field with a script like this:
return size(allLinkedIssues(key, "Epic-Story Link"));
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can also try this app - https://marketplace.atlassian.com/apps/1219429/status-progress-report-gadget-for-jira
You would need to enter JQL such as - "Epic Link" = "name of your epic" and type = story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, Raimundas... and appreciate your efforts on the creation of such a good plugin.
But 'Status & Progress Report Gadget for Jira' is only available for Cloud version not for Self-hosted server version.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.