Hi @Marco Domizio and Welcome to the Atlassian Community!
Are you a Project or Organization Administrator? You will need to be an Administrator in order to use the below tool.
I would accomplish this with Automation. You need some details before you get started though.
First you need something to trigger your automation. In this case it sounds like we could use the Issue Transitioned event, but you would need to know what identifies it as a Development Story. Maybe you are using components or Labels?
If you are using labels, your automation might look something like this:
@David Blank thank you very much, I am working on it and I am using the labels, how can i make sure that the new test story is linked to the development story which has been marked as done?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great @Marco Domizio ! Do you see where I am setting the "Relates to" link at the bottom of my screenshot? You can choose any link type that fits for you, I just chose this one randomly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marco Domizio another note: The Jira "Smart Values" I am using in the screenshot will pull in details from the issue that triggered it.
Issue.key will give you the issue unique identifier and issue.summary will give you the summary.
I use these and other smart values to populate information I want to pull from the issue that triggered the automation and use in my newly created issue.
You can find more Smart Values to use here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Blank great David, thank you so much. Last question: in order to not create problems we would like these test story to be put immediately into a Test Sprint created. is this something that can be done authomatically?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marco Domizio My pleasure!
Are you trying to put it into a Sprint that already exists?
You can add the Sprint field to your Create Issue Action and assign it to an existing Sprint or you can use Smart Values to assign it to the same sprint as the Story that triggered the automation rule.
I don't think it's possible to create a Sprint with automation though.
If I answered your question would you mark my answer as accepted? This will help others in the future.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I want to create a sprint where to put all these stories, problem is that when I go through the fields I cannot see Sprint
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marco Domizio I have never created a Sprint using Automation, but I did find this question on the community where someone suggests using a Send Web Request Action to do it: https://community.atlassian.com/t5/Jira-Software-questions/set-up-automation-creating-new-sprint/qaq-p/1929573
To add it to an existing Sprint, it should appear under available fields when you choose fields to set on your create issue action:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@David Blank you have been incredibly helpful but under fields I cannot find Sprint, I guess that this is a restriction on my organisation
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Marco Domizio Thank you, I'm happy to help! Is the Sprint field on your Create Issue layout for Story? If not, add it and that should make it appear in your Create issue action in automation.
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.