HI
I am having a TextField and has a few other TextFields and checkboxes inside it. The main Field is named as Confirmation and the rest are the subfields. Here is a picture of the view
I want to get the values of all the subfields named. How do I do that? is there any way for this? If I use the id of the main field, I get a mess of JSON in response. I just want the name and field value of all the subfields/ Is there any possible solution for that? thanks a lot.
This field is not a standard Jira field, it is almost certainly a field type provided by a plugin.
It is pretending to be a text field as far as Jira's data is concerned, and then it is encoding data in Json and interpreting it as a set of fields when Jira calls its code to draw the field.
When your code is asking the field for its content, Jira is responding with the actual content - a block of Json that you're going to need to read and understand in the context of the app that is providing the field.
I would check if the app has an alternate way of reading its data out of a field, but if it does not, then you're going to have to interpret the json yourself.
thanks for your time regarding this. Please lemme know if there's a way for this other than interpreting JSON as I don't know much about groovy for scriptrunner. Also, Please let me know where can I get to learn the groovy for it. any resource or video tutorials. thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- It is a bundled field. Any help regarding that? Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Bundled by what app? It's not a field that Jira provides off-the-shelf.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- I have got to deal with the issue. deviniti was used for this designing. Thanks for your support
Solution was available over this link. i just had to modify if according to my requirements.
Thanks a lot again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Jamshaid ,
I guess you are using some kind of app for the creation of the Sub-Fields, right?
I think, you will have to check, if that app does provide a REST API for this.
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.