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

Confiforms - How to use Dynamic Dropdown Webservice ?

Hello it's me again,

I'm trying to use ConfiForms' Dynamic Dropdown but it seems that I'm not using it correctly.
I need to fetch dynamically labels from JIRA API, but it doesn't seems to actualize himself and query the API while I tap in the field.

Here's the configuration of the field:

Name: subproject
Type: Dynamic Dropdown (auto-suggested) - Webservice
Service URL: /rest/api/2/jql/autocompletedata/suggestions?fieldName=Sub-Project(s)&fieldValue=[entry.subproject]
Root to use: results
Field to use as "ID": value
Field to use as "Label": value

The connection with JIRA works perfectly cause I'm already using it for others field, and even more, when I'm trying to use this field and replace by something static, I've the expect result of the query.

Can you help me, thanks
Kind Regards,

1 answer

1 accepted

Have you enabled "as proxy" option for this field? See more on https://wiki.vertuna.com/display/CONFIFORMS/Using+use+proxy+setting+in+dynamic+dropdowns 

Hello, I tried but when I do so, I don't have suggestions no more.

Maybe it's related to this but I'm using an application link to Jira for the WebService

Okay it seems to work when I'm using custom authentification but not when using Application links on the webservice, is this a wanted behavior or a bug?

Well, it's not a bug per se... With application inks we just use your account route the request through application link abstraction. And nothing else...

Are you sure this service is accessible when you access it through application link?

I think so because if I replace the Service URL:
/rest/api/2/jql/autocompletedata/suggestions?fieldName=Sub-Project(s)&fieldValue=[entry.subproject]
by:
/rest/api/2/jql/autocompletedata/suggestions?fieldName=Sub-Project(s)&fieldValue=test

I get every results that matches "test", but only when proxy disabled,

I am sorry this really hard to debug remotely and via community posts. Feel free to open a ticket with us https://wiki.vertuna.com/x/S4GW

And provide server logs with enabled DEBUG for our plugin, so we can help you to investigate the issue and get it resolved

Duly noted, I'll do this when I'll have the chance.

Thanks

Suggest an answer

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

How we use Jira Service Management for our recruitment process! - Part 2

It is never about setting up a process and being done with it. Rather, the focus should always be on optimizing it for the best outcomes. Thus, we didn’t stop at setting up JSM for our recruitment pr...

183 views 0 5
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