Uploaded image for project: 'Automation for Jira Server'
  1. Automation for Jira Server
  2. JIRAAUTOSERVER-1002

As an admin, I'd like to be able to configure the Edit issue action to assign Assets objects to an Assets custom field without using the advanced field edit option

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Actions
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Summary

      As an admin, I'd like to be able to configure the Edit issue action to assign Assets objects to an Assets custom field without using the advanced field edit option

      Scenario

      1. Set up an automation rule with a simple configuration below.
        When: Issue transitioned
        Then: Edit issue
        
      2. On the Edit issue configuration, select an Assets custom field for the "Set value" operation. Proceed with typing an object key.
      3. Result: Despite an existing object key has been entered, the field returns no object to be selected.

      Suggestion

      For the Edit issue action to support assigning objects to any selected Assets custom field without using the advanced field editing option (as per workaround below)

      Workaround

      We can specify the Assets custom fields and objects to be assigned in JSON format as per Advanced field editing using JSON. Here's an example JSON text of setting an object (ITSMITSM-465) to an Assets custom field (customfield_10204).

      {
          "fields": {
              "customfield_10204": [{"key" : "ITSMITSM-465"}]
          }
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            michin Michelle Chin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: