Below is the configuration:
In Workflow, post condition is assigned to Create Issue transition and condition is Assign the issue to the default user from the Developer role (have kept unchecked check for (skip if Assignee).
when try to create Issue:
Now, jira logged in user is in developer role and trying to create new issue and
In Issue creation screen, Assignee field shows Automatically option selected in drop down.
On create issue, it shows below error:
Error creating issue: Issue workflow initialization error: unable to find Issue created with workflowId '11036'. Did the IssueCreateFunction run successfully on workflow.initialize() ?
Please share your comments to resolve this issue.
And also, please share your comments, post condition - skip if Assignee option available on Assign to Role condition, How it works.
Thank You.
Hi Dhaval,
I've assisted you with this issue on support.atlassian.com, but I will answer this question here as well so anyone else experiencing this issue can find the answer.
This error happens when a Post function modifies the issue before it is created. In this case the "Assign to user" step is put before the "Create issue originally" post function. Thus the system tries to Assign a non-existant issue and gives this error. To solve this, simply move the Post Function step down so it runs after "create issue originally".
The Skip if Assignee option if checked will make it so JIRA ignores this post function IF the user creating the issue has selected an Assignee manually.
Cheers,
Ivan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.