I am having an issue with the "Create a new issue" post function.
Despite several attempts, I can not get the new issue to fire.
It is important to note:
1. The post function is on the close transition (anything going into close)
2. The original issue is a sub task and I am trying to create a new task (not a sub-task) in the same parent type but a different issue type
3. There aren't really any conditions to this create-issue-transition, but rather it should happen every time the sub task moves into "close"
4. Also, after editing the workflow, I did published it. ;)
See screenshots for more detail.
@Brooke Musat Does the "Run as" user have the create issue permission in the project?
Does your project include the Task issue type that you are trying to create? Can you manually create that same issue type?
Jonny, thanks for your reply.
On this: Does the "Run as" user have the create issue permission in the project?
I am not sure where to check for this, where would I look? Project >>permissions? I will say the project doesn't have any specific restrictions.....anyone can create any issue within this project.
Does your project include the Task issue type that you are trying to create? Can you manually create that same issue type? Yes to both of these questions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Right. Project>Permissions>Create issue.
Something else you may want to check, do you have required fields in the issue type you are creating? I believe the issue won't be created if those fields are not filled.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yeah I thought of that, I do have required fields and I am coping them over from the subtask. They are called out in that second screen shot (due date and account owner).
I also checked the permissions for the project (just now) and that was a dead end too....all JIRA users under our instance can close and create issues.
Any other ideas?
For some reason, it feels like the issue may have something to do with it going from a subtask to a task seems. This is just a hunch, but I am honestly not sure what else to try.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could it possibly be something with the properties?
To create an issue (the issue I am trying to create by closing the subtask) these are the properties:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'll be able to test this in my environment in the morning.
As a test, could you make the "Account Owner" field not required in the target project then try again?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That totally worked. Are you thinking it is because the account owner field is a custom field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Brooke Musat Glad to hear that we found the problem.
I don't have any experience with the Jira Misc Workflow Extensions add-on so I am not sure how they handle custom fields. Are you able to use the field ID in place of the field name?
If not, then you may want to contact the JMWE vendor for further troubleshooting.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Brooke Musat,
JMWE does handle custom fields, except those of a few types implemented by add-ons that do not implement required Jira APIs.
But are you sure the subtask always has a value for the Account Owner field? Otherwise copying an empty value would not satisfy the field's requirements.
Also, what is the field type of the Account Owner field?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.