Connect module `jiraIssueFields` not working when using it inside forge app (as `jira:jiraIssueFields`)

Hello,

When I try to use the following module:

"jiraIssueFields": [
{
	"description": {
		"value": "field with team"
	},
	"type": "single_select",
	"extractions": [
		{
			"path": "category",
			"type": "text",
			"name": "categoryName"
		}
	],
	"name": {
		"value": "Team"
	},
	"key": "team-field"
},
{
	"description": {
		"value": "field with team"
	},
	"type": "single_select",
	"extractions": [
		{
			"path": "category",
			"type": "text",
			"name": "categoryName"
		}
	],
	"name": {
		"value": "TestField1"
	},
	"key": "test-field1"
},
{
	"key": "team-issue-field-test",
	"name": {
		"value": "TeamTest"
	},
	"description": {
		"value": "Team tied to issue"
	},
	"type": "single_select",
	"extractions": [
		{
			"path": "category",
			"type": "string",
			"name": "category"
		}
	]
}
]

Inside a native connect app, then I can see the fields that I added here:

But when I try to migrate it to forge app and go to the same page again, I don’t see option to use the app fields.

Here is how I wrote the manifest:

modules:
connectModules:
  "jira:lifecycle":
    [
      {
        "key": "connect-lifecycle",
        "installed": "api/v1/lifecycle/installed",
        "uninstalled": "api/v1/lifecycle/uninstalled"
      }
    ]
  "jira:jiraIssueFields": [
    {
      "description": {
        "value": "field with team"
      },
      "type": "single_select",
      "extractions": [
        {
          "path": "category",
          "type": "text",
          "name": "categoryName"
        }
      ],
      "name": {
        "value": "Team"
      },
      "key": "team-field"
    },
    {
      "description": {
        "value": "field with team"
      },
      "type": "single_select",
      "extractions": [
        {
          "path": "category",
          "type": "text",
          "name": "categoryName"
        }
      ],
      "name": {
        "value": "TestField1"
      },
      "key": "test-field1"
    },
    {
      "key" : "team-issue-field-test",
      "name" : {
        "value" : "TeamTest"
      },
      "description" : {
        "value" : "Team tied to issue"
      },
      "type": "single_select",
      "extractions": [{
        "path": "category",
        "type": "string",
        "name": "category"
      }]
    }
  ]
remotes:
  - key: connect
    baseUrl: https://xyz-dev.dev.com
app:
  id: ari:cloud:ecosystem::app/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx2
  connect:
    key: connect-module
    remote: connect
  runtime:
    snapshots: false
permissions:
  scopes:
    - admin:connect-jira
    - read:connect-jira
    - write:connect-jira
    - delete:connect-jira
    - manage:jira-project
    - manage:jira-configuration
    - read:jira-user
    - write:jira-work
    - read:jira-work
    - storage:app
    - write:issue-type:jira
    - read:avatar:jira
    - read:issue-type:jira
    - read:project-category:jira
    - read:project:jira
    - write:issue-link-type:jira
    - read:issue-type-scheme:jira
    - read:application-role:jira
    - read:group:jira
    - read:user:jira
    - write:issue-type-scheme:jira
    - write:field:jira
    - read:field:jira
    - read:field-configuration:jira
    - read:custom-field-contextual-configuration:jira
    - read:field.option:jira
    - write:field.option:jira
    - read:screen-tab:jira
    - read:issue-details:jira
    - read:field.default-value:jira
    - read:instance-configuration:jira
    - delete:attachment:jira
    - read:project-version:jira
    - write:issue:jira
    - write:comment:jira
    - write:comment.property:jira
    - write:attachment:jira
    - read:issue:jira
    - write:issue-link:jira
    - read:project.property:jira
    - write:project.property:jira

Is there anything wrong I did here?

Thanks for help

Hi @GilEliyahu ,

Thanks for sharing your example with us, I was able to reproduce the same issue when testing and believe this to be a bug.
There is a bug ticket FRGE-793 - jiraIssueFields connect module does not work after Connect app is migrated to Forge to track this issue.

Please let us know if you have any further questions or comments.

Thanks

1 Like