Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create issue transition not working

Brooke Musat May 1, 2018

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. 

 

example_1.PNGexample_2.PNG

1 answer

0 votes
Jonny Adams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2018

@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?

Brooke Musat May 1, 2018

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. 

Jonny Adams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2018

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.

Brooke Musat May 1, 2018

 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. 

Brooke Musat May 1, 2018

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: 

example_3.PNG

Jonny Adams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 1, 2018

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?

Brooke Musat May 1, 2018

That totally worked. Are you thinking it is because the account owner field is a custom field? 

Jonny Adams
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 2, 2018

@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.

David Fischer
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 2, 2018

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?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events