I have automation to create stories that must exist in each sprint for specific people. It is beneficial to include the sprint name in the story's summary. I cannot figure the json or smart value to use to append that data.
This is the automation to create the story. The sprint name needs to appear after "KLO On-call" in the Summary field.
This is for the story created using the above automation. It successfully placed it in the next sprint "AUG24-18 Letters 8/28-9/10".
How can I get that information to also appear in the Summary field?
{
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "1569958",
"self": "https://enterprise-jira.onefiserv.net/rest/api/2/issue/1569958",
"key": "OSPLT-3660",
"fields": {
"customfield_15400": null,
"customfield_15401": null,
"customfield_10110": null,
"fixVersions": [
{
"self": "https://enterprise-jira.onefiserv.net/rest/api/2/version/51163",
"id": "51163",
"name": "No Release",
"archived": false,
"released": false
}
],
"customfield_11200": {
"self": "https://enterprise-jira.onefiserv.net/rest/api/2/customFieldOption/15600",
"value": "🟩 Green",
"id": "15600",
"disabled": false
},
"customfield_10111": null,
"resolution": null,
"customfield_15403": null,
"customfield_11831": null,
"customfield_10106": [
"com.atlassian.greenhopper.service.sprint.Sprint@3b3928f4[id=18342,rapidViewId=4784,state=FUTURE,name=AUG24-18 Letters 8/28-9/10,startDate=2024-08-28T13:21:00.000Z,endDate=2024-09-11T13:21:00.000Z,completeDate=\u003Cnull\u003E,activatedDate=\u003Cnull\u003E,sequence=18342,goal=\u003Cnull\u003E,synced=false,autoStartStop=false,incompleteIssuesDestinationId=\u003Cnull\u003E]"
],
"custom
Welcome to the community.
After the issue creation, add a branch in your automation based on most recent created issues and then edit the summary field.
To append the information set the summary as follows {{issues.summary}} - {{issues.sprint}}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Jill Fitzgerald
Do you know if Sprint will be active (started) when this automation were to run? That determines if you have access to the open sprint..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, not only that a sprint is active, there must be stories in the sprint.. then we can do lookupIssues and get the sprint name...
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.