I got result like below
IssueConstantImpl[[GenericEntity:Priority][sequence,1][statusColor,#d04437][name,Highest][iconurl,/images/icons/priorities/highest.png][description,This problem will block progress.][id,1]]
from Priority. I need to get particular element value.
Hi Ramesh,
You have to "get" the value that you want.
For example, to get the name of the priority for an issue:
issue.getPriority().getName()
Hope it helps!
Regards,
Marcos
@Marcos Sanchez i want get value from Priority object.Not concern Issue.anyway thanks i got Solution.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
It works the same way.
With getPriority() you get the Priority object (IssueConstantImpl[[GenericEntity:Priority][sequence,1][statusColor,#d04437][name,Highest][iconurl,/images/icons/priorities/highest.png][description,This problem will block progress.][id,1]]) and with getName() it returns the name value (as getDescription() returns the description, getId() returns the Id, etc...).
Well, then I'm happy that you got a solution by your own :)
Best Regards,
Marcos
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.
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.