Dear Community,
I want to modify the summary field set by default when using the automatic creation of subtasks when a new ticket (US) is created. To be more precise, I want to change "Support" into "SB XX-XXX-XX - Support" where SB XX-XXX-XX is the issue parent summary.
How could I do it automatically at issue creation please ?
Thank you
Hello Emmanuel,
As Trudy points out, there are various scripting solutions available, so let us know if you have a preference and we can provide and example. Here is an example script if you are using Power Scripts:
string newIssueKey = createIssue(
"DEMO",
"",
"Sub-task",
"Summary goes here " + parent // here is how you add the parent summary
);
For more on issue creation, see this documentation.
...on creating custom workflows such as Post Functions.
Because of Confluence Cloud security features, you may need to open the documentation in incognito mode or by logging out of Confluence.
Regards,
Hyrum
Full disclosure, I am a product engineer for Power Scripts, made by Anova Apps, an Appfire company.
Hello @Hyrum Steffensen _Appfire_
Thank you for the answer and the information that should help me. I go through it !
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Emmanuel,
You can use Automation in conjunction with Power Scripts. When selecting an Action, select "Power Scripts Action".
Regards,
Hyrum
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Hyrum, but I haven't got Miscellaneous option. It appears easier to use issue action with . Is that correct ? If so, could you share an example please.
Regards,
Emmanuel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think you would have to have this app in order to have that option:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Emmanuel CARRAY
Welcome to the community.
What have you done to automate the creation of subtasks?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Hyrum Steffensen _Appfire_
Thanks for answer that quickly :-)
I've just used automation in JIRA when creating an issue with automatic creation of its subtasks. I was wondering if More options/Additional fields box with JSON code could help me.
What do you think ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You should be able to update the summary of the sub-task using Smart Values.
Are you creating the parent story and the sub-tasks in the same rule or separate rules? Can you show us the rule(s) you have at this point for this task.
This post reference the same topic:
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.