Auto Link issues based on issue picker custom field

Issue #821 resolved
Scott Federman created an issue

I have an issue picker custom field called "linked epics" in my feature issue type. Cool field but it doesn't actually link anything. I wanted to see if i could get the issues to link using the "Has Epic of" link option using the features "linked epics" field to link the epics to the feature.

I have not been able to make this work. Can you help?

Comments (6)

  1. Scott Federman reporter

    its a issue picker custom field. Its Issue Picker Custom Field Type for JIRA add-on.

  2. Fidel Castro Armario repo owner

    Hi @scottfedm1,

    Please, try "Copy a parsed text to a field" with the following configuration:

    • Target field: Epic link
    • Parsing mode: basic
    • Text to be parsed: %{nnnnn}, replacing nnnnn with field code for "Linked epic" custom field.
  3. Fidel Castro Armario repo owner

    Hi @scottfedm1,

    I have implemented the described solution using JIRA 7.4.2, JWT 2.2.42 and CF Issue Picker 1.0.2, and it works as expected.

    You should take into account that:

    1. You should select an Epic issue in field "linked epics". If you select other issue types, no link will be created.
    2. An issue can only have one epic. You should select only one. If you selected more than one epic in field "linked epics", and error message will be shown.

    This is a screenshot of my configuration:

    Captura de pantalla 2017-10-04 a las 18.41.21.png

    I have also included the following boolean expression at parameter conditional execution:

    %{nnnnn} != null
    

    replacing nnnnn with field "linked epics".

  4. Fidel Castro Armario repo owner

    I close the issue. Please, reopen it if you find that provided solution is not satisfactory.

  5. Log in to comment