Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Populate JIRA issues Keys in a Confiform dropdown

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 ??   

1 answer

1 accepted

Hi

How is your field (webservice dropdown) is configured?

Do you have something like this

Screenshot 2021-04-13 at 16.33.11.png

Screenshot 2021-04-13 at 16.33.18.png

Assuming your connection is pointed at Jira server (root)

Alex

Hi Alex

I set up as the images 

issues and key

 

 

regards,

Abid

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?

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 

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

yes that's right, I only need a key to show it on the dropdown 

no need for the other fields 

And what is the mapping for "label" in your web service dropdown field?

I left it empty

Well, should not you put key there to show the key?

I understand that you dont want an empty label... 

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.

Cannot tell about the connection itself... you need to check that yourself

And you need to put a mapping for "label" parameter as key

I did that but I got nothing.

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

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 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

Marketplace Partner Spotlight: Fine Software

Happy New Year, everybody! What better way to kick off 2022 than with a new Marketplace Partner Spotlight ✨ This month, we're getting to know Daniel Franz, co-founder of Fine Software. Fine Software ...

426 views 2 15
Read article

Community Events

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

Events near you