Confluence 6.2.3 + create Jira issue web service fill nfeed field.

Xavier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 6, 2018

Dear all,

I have a problem when creating a Jira ticket from Confluence using Confiforms + WebService.

I use the doc provide here:

https://wiki.vertuna.com/display/TEST/Create+Jira+issue+with+webservice+connection

It works good when using this example, and adapt it to our system.
Now I would like to populate some others custom fields like Nfeed...

 

I add a DB DropDown which display a list of value (ID, LABEL)

in Jira, I have 2 nfeed fields customfield_12345 and customfield_12346.

This work fine:

{
    "fields": {
       "project":
       {
          "key": "JTEST"
       },
       "summary": "[entry.summary.escapeJSON]",
       "assignee":{"name":"admin"},
       "description": "[entry.desc1.escapeJSON]",
"customfield_12345": ["My option"]
       "issuetype": {
          "name": "Bug"
       }
   }
}

My goal is to populate customfield_12346 (nfeed type) with the value selected on my DB Dropdown.

 

I try a lot of options, but no one works.

"customfield_12346": [entry.mydbdrop.id]

"customfield_12346": "[entry.mydbdrop.id]"

"customfield_12346": [entry.mydbdrop]

"customfield_12346": "[entry.mydbdrop]"

"customfield_12346": {"Code":"[entry.mydbdrop]"}...

 

 

The problem is that it seems my dropdown field value is not recognized

any idea ?

 

thanks in advance.
regards

 

 

1 answer

1 accepted

1 vote
Answer accepted
Xavier
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 10, 2018

found.
it works writing code like this:

["[entry.mydbdrop]"]

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events