You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi I need help
I want(I found) to use IssueManager to find all related issue with my issue test-123
link: https://docs.atlassian.com/software/jira/docs/api/7.6.1/com/atlassian/jira/issue/IssueManager.html
Mabye : getEntitiesByIssueObject(String relationName, Issue issue)
Get a list of entities (versions, components etc) related to this issue.
I have difficulty to read in IssueManagerApi
---------------------------------------------------------------------------------------
Or .... before I find How to find all name attachement (works)
def box2 = getFieldByName("test2")
def key2 = getUnderlyingIssue().getAttachments()
Object obj
String objValue = " "
Iterator itra = key2.iterator()
while(itra.hasNext()) {
obj = itra.next()
objValue = objValue.toString() + " " + obj.getFilename().toString()
box2.setFormValue(objValue.toString())
}
mmmm ???
def box2 = getFieldByName("test2")
def key2 = mmmmm.getRelatedIssue()???
Object obj
String objValue = " "
Iterator itra = key2.iterator()
while(itra.hasNext()) {
obj = itra.next()
objValue = objValue.toString() + " " + obj.getnameIssue()???.toString()
box2.setFormValue(objValue.toString())
}
or mabye in this direction
import com.atlassian.jira.component.ComponentAccessor
def box2 = getFieldByName("test4")
def key2 = ComponentAccessor.getIssueLinkManager().getIssueLinks(related???)
not this way ... Forget
i want an array of related issue not an array of link or something like that ...
:(
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.