Hi all,
Do you know any way to get the text plain from a custom text field?
Or do I have to do it formatting the json output?
I am trying using the rest api with curl, but I only want to receive the value.
Thanks in advance
Hello,
You can not receive a plain text. There will be always a json string. You need to work with the json to get the value.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
One last thing @Alexey Matveev
I get the field value executing:
curl -k -D- -u "user:pass" -X GET -H "Content-Type: application/json" https://jira.com/rest/api/2/issue/KEY-0?fields=customfield_111111
Is the best way to get only the value?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that is the best way
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.