You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello, I want to automatically Create Issue with an IssueType of "Sprint Goal" and populate the Summary with the Sprint Name, The Sprint Field with the current sprint and the Description Field with the Sprint Goal on Sprint Start. I'm very new to ScriptRunner so need the baby steps explained! I appreciate any help!!!
Thank you for the help! This is for Jira Cloud, so that may change the advise you gave above. I do have ScriptRunner. What I want to do is this:
1. Start Sprint (trigger)
2. Create Issue with Issue Type of "Sprint Goal" (I already have this issue type added and available).
3. Add the sprint goal text to the description.
4. populate Sprint with the current sprint.
Welcome to the Atlassian Community!
I'm going to work through this backwards because I've got answers for the end of the process, but questions about the beginning.
I am assuming you have chosen "server" correctly here (a lot of people don't understand the difference between server and cloud and give us the wrong information. If you're on Cloud, the principles here are similar, but not the code!)
And that leads on to the first step in the process. When are you doing this? What is the trigger for it? Is it a post-function in a workflow? Or is someone clicking something? Or it happens regularly?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm assuming this is in response to a "Sprint Started" event, in which case a Script Listener would be the tool to use.
@Nic setting sprints is as easy as:
Issues.create('projectKey', 'issueType') {
setSummary('Summary')
setSprints('Sprint name') // Sprint name
setSprints(100L) // Sprint ID
setSprints(event.sprint) // Sprint from event
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Reece! I've not worked with sprints recently!
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.