Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use Interface IssueManager ?? to find related Issue

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()) 
}

 

 

1 answer

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 ...

:(

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase

The benefits of using Jira in different departments

Jira is a great tool to use across different departments. Forget that paperwork – switch to Jira and get that tasks done smoothly. Marketing Jira allows for a complete digital transformation of you...

76 views 0 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you