Hi everybody,
can someone help me with following:
I need to add new button to already existing Projects that is going to show me specific Screen and then create a new subtask.
After have done all that, I went back to my test project. The button was there and the needed screen is also there when I click the button. But when I click Save, nothing happens. I don't get new subtask, and all the information I previously added to the Screen is gone.
Does someone know what I'm doing wrong here? Jira is completely new to me, so I have the feeling here like I'm constantly overseeing something. Like there is just one more step to be done, to bring this workflow to work.
Put your "create subtask function" in a postfunction and attach it to the transition :
see https://confluence.atlassian.com/adminjiracloud/advanced-workflow-configuration-776636620.html
Hello,
How do you create a subtask? As I read your question you only create a transition and a screen. How do you create a subtask?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So as I explained above:
So I already have created a function for creating a subtask, and it works just fine. but now I need to be able to create the same subtask by clicking the button CREATE Y.
So I would like to know if this is possible by connecting transition with a screen which is already asociated with corresponding issue type or do I need to write custom script as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should add your script as a post funtion to this transition
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nowhere in your description do you indicate you're trying to create a new subtask. If you're trying to create a new subtask you need to use the create subtask function for that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're right, should be more clear.
So I already have created a function for creating a subtask, and it works just fine. but now I need to be able to create the same subtask by clicking the button CREATE Y.
So I would like to know if this is possible by connecting transition with a screen which is already asociated with corresponding issue type or do I need to write custom script as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI @S. K.
Welcome to the community!
If you want to create a subtask the already create subtask option is there in More option.
And if you want to create subtask while transiting the issue/task then you need to write a custom script and you have to apply it on the respective transition.
Another option is you can use Create Issue On Transition add-on and configure accordingly so while transiting issue it will create a subtask and link to the parent.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Yogesh Mude
I already have created a function for creating a subtask, and it works just fine. but now I need to be able to create the same subtask by clicking the button CREATE Y.
So I would like to know if this is possible by connecting transition with a screen which is already asociated with corresponding issue type or do I need to write custom script as well?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@S. K. as you mentioned about you have been already created a function for creating Subtask..could you please let me know where you have been used this function I mean on issue transition?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.