Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confiform create jira epic if not exists and then add story, if epic exists then only add story

SP
Contributor
October 19, 2022

Hi,

I have a confiform to create jira issue, When creating a story (issue) in a project, confiform would need to search the epic in the project, if epic not exists then create and add story, if epic exists then only add story.

Is this possible through confiform?

Thanks,

 

1 answer

1 accepted

0 votes
Answer accepted
Alex Medved _ConfiForms_
Community Champion
October 20, 2022

You need to tell ConfiForms in advance what epic to use, if you want to put the issue into epic. This is how Jira API works and ConfiForms relies on that

SP
Contributor
October 21, 2022

Is that possible to pull Epics from JIRA project into Confiform dropdown field?

Alex Medved _ConfiForms_
Community Champion
October 21, 2022

Yes, similar approach what we show on https://wiki.vertuna.com/display/TEST/Building+a+dropdown+field+in+ConfiForms+backed+by+webservice+call+to+Jira+Rest+API+-+createmeta

But just using the search API instead

/rest/api/2/search?jql=

with field mapping to be something like

Screenshot 2022-10-21 at 19.37.13.png

Alex

SP
Contributor
October 28, 2022

Thank you Alex,

I tried the above link you shared only the dropdown/multitext field data able to pull form confiform field, but not text field.
EPIC is the text field in the jira project, how can i pull all epics from the project?

SP
Contributor
October 28, 2022

i'm able to pull the epic details using below query.

 

/rest/api/latest/search?jql=project=test%20AND%20issuetype=Epic&maxResults=-1

What would be the maxresults limit?
Is that possible to append the another custom field to the dropdown.
Example:

Customfield_1 and customfield_2 data in the dropdown.

Alex Medved _ConfiForms_
Community Champion
October 29, 2022

Hi

Please refer to Jira REST API documentation https://docs.atlassian.com/software/jira/docs/api/REST/9.3.1/#api/2/search-search

jql expression must be "url encoded" when configured in ConfiForms

Alex

SP
Contributor
October 31, 2022

Thank you Alex

Suggest an answer

Log in or Sign up to answer