Hii,
I would like to get all the issues from jira and show the keys in a dropdown in a confiform.
I wrote the jql and it works fine
My confluence is already integrated with my JIRA server
and I create a webservice in ConfiForms app configuration
but when I tried to use it in webservice dropdown field I got null json
Any idea ?? do I need to enable some configuration ??
Hi
How is your field (webservice dropdown) is configured?
Do you have something like this
Assuming your connection is pointed at Jira server (root)
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
How about the JQL you use? Is it properly URL encoded?
If you put the same URL into the browser url - do you see the results?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
MyJIRAServer/rest/api/2/search?jql=status%20in%20(open)&fields=key
exactly .. I got json result but it doesn't work within the field configuration
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
But you have specified limit fields via
&fields=key
Of course it doe snot load fields!
As you ask it not to load anything but the "key"...
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes that's right, I only need a key to show it on the dropdown
no need for the other fields
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And what is the mapping for "label" in your web service dropdown field?
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.
Well, should not you put key there to show the key?
I understand that you dont want an empty label...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think the problem in the connection to jira server
because when "See the service mapping" in the dropdown configuration I got []
an empty json ,so no data is loaded here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Cannot tell about the connection itself... you need to check that yourself
And you need to put a mapping for "label" parameter as key
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.
Empty results (json array) means you have no results returned
So it is either the Jira permissions thing or incorrect (web service) connection
How is this configured? You can open support ticket directly with us - so it will be more safe to share the config details
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alex
As I said it was a connection error confluence server couldn't see JIRA server.
Now it's working fine.
Many Thanks,
Abid
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.