How to create Issue Links in Post Functions using Create issues and subtasks by JWT

Issue #959 resolved
AndreH created an issue

JIRA Workflow Toolbox Version: 2.2.47

Project A Project B

I have an already existing issue in Project A. During a Transition through a Post Function, there are several new issues created in Project B. (issues 1-10) using Create issues and subtasks by JWT.

The workflow is in Project A, the create Issue Post function is in Project A.

The goal is to Create issues in Project B and link the last 2 issues together:

Project B Issues 1 - 8: No Issue type links to any of the Project B issues.

Project B Issue 9 & 10: Issue 9 is going to have an Issue Link of Issue Blocks Issue 10.

How can the Post Function create this link?

Comments (7)

  1. Fidel Castro Armario repo owner

    Hi @zarco44,

    Use the following configuration at parameter "Issue Links" in post-function for creating issue 10:

    Captura de pantalla 2018-01-23 a las 17.20.06.png

    JQL query is:

    issuekey = %{00063}
    

    where %{00063} is field code for Ephemeral string 3.

  2. Fidel Castro Armario repo owner

    For selecting an issue by issue key is recommend to use JQL query, since it's more efficient.

  3. Log in to comment