Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-43980

Issue Field Updater unable to assign Jenkins env variable in field value for custom field id

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • jira-plugin
    • None
    • Jenkins ver. 2.32.3, jira plugin 2.3, Ubuntu 14.04.3 LTS

      unable to input jenkins env variable for example BUILD_NUMBER as a value for the custom field id of jira. Image attached below. Here customfield_10901 is the single line text field. The plugin assigns whatever value it gets from the Field value wont parse Jenkins environment value 

      Out in the JIRA

      Let me know if I have missed something. Thanks

          [JENKINS-43980] Issue Field Updater unable to assign Jenkins env variable in field value for custom field id

          Alex Mikhnenko added a comment - - edited

          Actually the same issue happens for JQL field too

           

          Alex Mikhnenko added a comment - - edited Actually the same issue happens for JQL field too  

          I tried to use env variable in "JIRA: Update relevant issues" step using JQL. Also doesn't work.
          Is this a bug or a missing feature?

          Samuel Hildwein added a comment - I tried to use env variable in "JIRA: Update relevant issues" step using JQL. Also doesn't work. Is this a bug or a missing feature?

          doru added a comment -

          hello, is there any workaround for this? I am blocked because of this . it's strange that with Jira progress issue by workflow action I can use environment variables but with this one I cannot do it and there are provided by the same plugin.

          Basically I need to use some variable both in the JQL query and in a custom field as a overwrite value.

          doru added a comment - hello, is there any workaround for this? I am blocked because of this . it's strange that with Jira progress issue by workflow action I can use environment variables but with this one I cannot do it and there are provided by the same plugin. Basically I need to use some variable both in the JQL query and in a custom field as a overwrite value.

          Radek Antoniuk added a comment - Released in 3.2 - https://github.com/jenkinsci/jira-plugin/releases/tag/jira-3.2 .      

            Unassigned Unassigned
            java_sabin java sabin
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: