Hi Jira Experts,
I am in a situation where i have been asked to implement below scenario
Create a button called " create story" in feature issue type screen and when user clicks on the "create story" button from Feature screen ( workflow) he gets the "story create" screen and fills in all the fields and submits. It should create an issuetype of story.
I tried following
Opened the feature workflow, added a transition ID "create story" with existing step namen and Linked Status ( To Do) with story create screen. This gave me the story create button and when i click on the button it pops up the create story screen but it is updating the same feature and not creating new story.
I have attached the feature screen for your reference.
Expected: It should create a story from feature screen
Could someone guide me to achieve this workflow implementation ?
Regards,
Sunil
Hi Tarun,
Thank you very much. I tried your solution, now the problem i have is, story creation is not dedicated to a single project. Features are created in a dedicated project called "A". The features created in this project are related to across other projects ( other projects "B" and "C" are restricted to have story, bug). When i click "create story" from project "A" it might be related to either project "B" or "C". But here in the post function the clone functionality is restricted to a single project.(i.e Target project can be a single project ) . With this i end up creating story in a dedicated project only.
Regards,
Sunil
Hello @sunil tattimani
You can have multiple post-functions, each post-function dedicated to one project.
If you want even more number of projects then you can create a custom script listener as well.
If you feel my answer has helped you , please accept/upvote. thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarun,
I dont think adding multiple post functions to a single workflow would solve my problem.
Please see the attachment above where single feature workflow has multiple post functions and when story is created, it is going to create in all the projects at a time simultaneously.
My need was to create story from project 'A' selectively either in project "B" or "C" and not in both "B" and "C" simultaneously.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @sunil tattimani
"My need was to create story from project 'A' selectively either in project "B" or "C" and not in both "B" and "C" simultaneously."
You can easily add condition in each post-function and based on that condition the post-function will be executed or not executed. The condition should be based on your selective criteria to go ahead with either project "B" or project "C"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @sunil tattimani
You are on right track, you have already added a transition for "creat story" and on the transition screen you can fill the fields for the story. Then you add a post-function on this transition, this post-function comes from script runner plugin to "clone" an issue. And instead of cloning you can submit the details of creating a new story in a dedicated project and the new story can have the fields filled by the user on the transition screen.
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.