Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Modify issue summary at automatic creation of SubTasks when a new ticket (US) is created

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

2 answers

Hello @Emmanuel CARRAY 

Welcome to the community.

What have you done to automate the creation of subtasks?

Hello @Hyrum Steffensen 

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 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:

https://community.atlassian.com/t5/Jira-Software-questions/Automation-for-Jira-Smart-Values-in-Sub-Task-Summary/qaq-p/981415

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 

Thank you for the answer and the information that should help me. I go through it !

Regards

Hello Emmanuel,

You can use Automation in conjunction with Power Scripts. When selecting an Action, select "Power Scripts Action".

Screen Shot 2021-06-09 at 9.55.02 AM.png

Regards,

Hyrum

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

336 views 9 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you