Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,369,006
Community Members
 
Community Events
168
Community Groups

How to restrict Confiform field to show results containing a specific Jira issuetype

Edited
Adrian M I'm New Here Sep 22, 2022

I've set the Field Type to Jira and I'm able to get results in the Field on the page. However it gives me all issuetypes when a match is found. How can I restrict to only search and show a specific issuetype? 

For example: If I enter "Azure" (no quotes) I want it to return a list of Epics that contain "Azure" in the Summary field. Instead I get all issuetypes in the results such as Story, Task, Spike, Epic .. etc

1 comment

Hi @Adrian M and welcome to this community

Consider using the web service dropdown (advanced) field and setting it up to query your Jira with a predefined JQL query

Something we show for components and metadata

https://wiki.vertuna.com/display/TEST/Building+a+dropdown+field+in+ConfiForms+backed+by+webservice+call+to+Jira+Rest+API+-+createmeta

https://wiki.vertuna.com/display/TEST/Building+a+dropdown+field+in+ConfiForms+backed+by+webservice+call+to+Jira+Rest+API+-+components+field

 

With service URL call to be something like (of course matching your JQL criteria)

/rest/api/2/search?jql=resolution%20%3D%20Unresolved%20

and mapping for the field

Screenshot 2022-09-23 at 09.42.08.png

 

Alex

Thanks for the welcome and your response, Alex.

I did try that by picking the only web service connection that showed up on the list. And I set the fields as suggested. But I get a "No matches found" message in the dropdown. Not sure if I need to create a webservice for this. If so, I don't have access to do that (the manage connections button shows I don't have access). Would there be a workaround?

image.png

Hard to tell by looking at this screenshot only - is the connection you have is to your Jira server? Have you correctly defined and url encoded the JQL you pass to "search" API endpoint?

And if you dont have an access to define the connection then you need to ask someone who has, as the prerequisites for this field is to set up a connection to you Jira

Alex

Like Adrian M likes this

Comment

Log in or Sign up to comment
TAGS

Atlassian Community Events