Uploaded image for project: 'Jira Cloud'
  1. Jira Cloud
  2. JRACLOUD-16517

No way to validate customfields if their values are are only valid for the current IssueContext (Project/type)

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Cloud. Using JIRA Server? See the corresponding bug report.

      Scenario:

      • Set a value on an issue for a Version Custom Field
      • Open edit screen.
      • In another tab, move issue to a new project with this custom field still available. Version CF get cleaned and validated.
      • Click on save on the edit page (original tab)

      Outcome:
      The issue now has a version from the old project set as the value of the cusomfield.

      Reason:
      The version customfield has no way of finding out the IssueContext (Project/Type) during its validation. All it can do do is validate that the number is a version id, it check to see if it is an id of the issue's project.

      We need to extend the CustomFieldType API to pass in an IssueContext (or list of). If we do this, we break all customfields....

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nick.menere Nick Menere [Atlassian] (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: