Forums

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

ConfiForms integration with Jira custom fields

Miloš December 3, 2024

Hi Alex (guessing),

 

I have created a working ConfiForm within Confluence that creates JIRAs, but some fields are not being populated into the JIRAs.

They are custom fields, I have tried defining them as cf00000 or customfield00000 but nothing works.

Bear in mind that I cannot use spaces or special characters to define these fields in the ConfiForms Field Definition macro.

Thanks in advance!

2 answers

0 votes
varatha December 19, 2024

Hi Alex,

 

When the user fills the form, and the JIRA is created, the custom fields (Epic Link)are NOT populated and I don't understand why my ConfiForms is not working for those... 

 

Please help

 

{
    "fields": {
       "project":
       { 
          "key": "CITE"
       },
       "summary": "[entry.ProjectTitle]",
       "description": "\n\n- Demand Id: CITE-[entry.UniqueID]\n- Project Title: [entry.ProjectTitle]\n- Business Contact: [entry.BusinessContact]\n- System Interface Contact: [entry.SystemInterfaceContact]\n- Description: [entry.Description]\n\n Testing Timelines or Sprints: \n\n- Phase: [entry.Phase]\n- StartDate: [entry.StartDate]\n- EndDate: [entry.EndDate]\n- No. of Weeks: [entry.Numberofweeks]\n- UserRequirement: [entry.UserRequirement]\n- Comments: [entry.Comments]\n\n",
       "issuetype": {
          "name": "User Story"
           },
   },
     "customfield_10012": "[entry.EpicLink"
  
  }

  

Alex Medved _ConfiForms_
Community Champion
December 19, 2024

Is it in "EpicLink" field in ConfiForms?

Then I guess (if the epic link field in Jira is customfield_10012 and EpicLink in ConfiForms and it holds a Jira issue)

"customfield_10012": "[entry.EpicLink]"

 

varatha December 19, 2024

Yes still Epic Link value not populated in jira issue. Kindly help

Alex Medved _ConfiForms_
Community Champion
December 19, 2024

Is this

customfield_10012

a correct field for the epic link in Jira?

0 votes
Alex Medved _ConfiForms_
Community Champion
December 3, 2024

Hi

It does not matter how fields are named in ConfiForms - what matters is how you map them using the JSON mapping between Jira and ConfiForms

Different fields in Jira require/expect a different mapping

See https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/

And the https://wiki.vertuna.com/display/CONFIFORMS/Creating+Jira+issue+from+Confluence+with+ConfiForms

Alex

Miloš December 5, 2024

Alex -

Not a developer here, I will try to explain as well as I can:

In the IFTTT/No format macro, I am trying to get my customfields added so when the user fills out the form, these customfields get populated accordingly in JIRA.

I want them to remain dynamic in the setup, I don't want to hardcode the options for each of them.

Some of these customfields are text, some are dates, some are dropdowns...

 

Alex Medved _ConfiForms_
Community Champion
December 5, 2024

OK, and what is your question? How to link those with ConfiForms Field Definitions ?

Miloš December 12, 2024

When the user fills the form, and the JIRA is created, the custom fields are NOT populated and I don't understand why my ConfiForms is not working for those...

Do you have an example for a Date customfield? What needs to be set for that field to be populated once the user submits the form he just filled?

Alex Medved _ConfiForms_
Community Champion
December 12, 2024

Have you mapped custom fields? How?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events