Skip to content

Add support for project datatype in custom fields#482

Merged
ankitpokhrel merged 1 commit intoankitpokhrel:mainfrom
oveaurs:project
Oct 9, 2022
Merged

Add support for project datatype in custom fields#482
ankitpokhrel merged 1 commit intoankitpokhrel:mainfrom
oveaurs:project

Conversation

@oveaurs
Copy link
Contributor

@oveaurs oveaurs commented Oct 5, 2022

@oveaurs oveaurs changed the title Adds support for project datatype in custom fields Add support for project datatype in custom fields Oct 6, 2022
customFieldFormatOption = "option"
customFieldFormatArray = "array"
customFieldFormatNumber = "number"
customFieldFormatProject = "project"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @oveaurs, I don't see this field format in the Jira doc. I am wondering what's the datatype for this field returned by the /field API?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

    "id": "customfield_13467",
    "name": "Cross over project",
    "custom": true,
    "orderable": true,
    "navigable": true,
    "searchable": true,
    "clauseNames": [
      "cf[13467]",
      "Cross over project"
    ],
    "schema": {
      "type": "project",
      "custom": "com.atlassian.jira.plugin.system.customfieldtypes:project",
      "customId": 13467
    }
  },

I found a reference to that datatype here: https://developer.atlassian.com/cloud/jira/platform/rest/v2/api-group-issue-fields/

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thank you for the reference. The changes looks OK to me.

@ankitpokhrel
Copy link
Owner

Thank you for your contribution 🎉

@ankitpokhrel ankitpokhrel merged commit 045d65a into ankitpokhrel:main Oct 9, 2022
@oveaurs oveaurs deleted the project branch October 9, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants