Forums

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

Create an issue while transitioning to another state

Özge K_ March 15, 2022

Hi everyone!

I would like to create an issue while I'm transitioning to another state. For instance, I'm in Analysis state and I'm transitioning to Implementation state. But while I'm doing so, I'd like to create a subtask to another user. I'm trying to do it on post functions. Even I've tried the automation rules but it doesn't work. Could you please help me?

Thank you,aaa.JPG

3 answers

1 accepted

0 votes
Answer accepted
Craig Nodwell
Community Champion
March 15, 2022

The plugin you are using will have a log file attached to it's execution, you can check that for some better understanding to the reasons why.
You are creating a Task and populating a few fields on creation, the ones that you are creating does that satisfy the required fields for creating a Task or do you need to include more like the Description?
Where in the step order are you placing this post function?
Do you have the correct permissions to perform this?
Have you tried changing the permission on the executor of the post function?

Özge K_ March 16, 2022

Thank you Craig! I solved the problem. It was caused due to some unmatched fields as you said. 

0 votes
Tansu Akdeniz
Community Champion
March 16, 2022

Hi @Özge K_ 

Can you please try to create this sub-task manually by using the same parameters you pass in post-function? Also with the same run-as user. 

0 votes
Josh Costella
Community Champion
March 15, 2022

Hi @Özge K_ 

You would need to update the issue type to Sub-task instead of Task. 

Özge K_ March 15, 2022

Hi Josh, I made a mistake. But it still doesn't work :/

Suggest an answer

Log in or Sign up to answer