Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

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 Marketplace Apps & Integrations

Staying organized with Jira: best practices for a better project management

Project managers know this problem: A “mountain of work” lays in front of you, and you don’t know how and where to tackle them. Different to-dos lie ahead, but just one task after the other can be ha...

233 views 2 1
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