I have some IDs (6 digit integer) and would like to understand which object they represent.
I am looking for something like:
Is there any such method? Or any alternative? Or are these IDs not accessible through the API? I can get the ID for a known object but apparently I can not select such an object initially by using the ID.
Thanks in advance! Carsten
IssueManager issueManager = ComponentAccessor.getIssueManager()
Issue issue = issueManager.getIssueObject(160778)
I don't know of a way to do that.
Plus different object may end up with the same id.
You really need to understand the context first.
One could create a script that takes an id, then iterate through all the common object types and try to obtain each object type from the given id and return all the type/class of all objects that were found matching that ID. But that likely doesn't exist.
You might have more luck asking the community where your specific id came from by explaining where/how you got it.
Hi Peter, thanks, that's along the line I was thinking about - taking the ID and run it against the most common types as a tool to analyse issues. Will dig deeper into it. Cheers Carsten
Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...
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