Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,558,104
Community Members
 
Community Events
184
Community Groups

Create sub-tasks depending on checkbox items selected

Hi all,

I want to be able to create sub-tasks when certain values in a custom checkbox field are checked off, either from when an issue is created or edited.

To further explain, I work with a cybersecurity team that wants to handle detected threats as Jira stories. On these stories is a checkbox field with values:

  • Detection
  • Additional Detection
  • Recommendations/Blockers
  • Test Case
  • Findings for FIRE Review
  • IOC Enrichment
  • Other

We also house sub-task issue types which are named after the aforementioned checklist values. At any point, whether the issue is just being created for the first time, or if the issue is edited and certain values are checked off, I want the sub-tasks created corresponding to the selected values.

Additionally, I wanted to note that we use Scriptrunner and JMWE plugins. What I tried to do is use a Create / Clone issue post-function to fulfill this, but realized this would only work in the event of a workflow transition. I'm now thinking a Scriptrunner behaviour is the way to go, but not sure where to start regarding how to iterate over the values of the checklist and creating the sub-tasks from there.

Any tips or nudges in the right direction is highly appreciated!

2 answers

1 vote
David Fischer _Appfire_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Aug 05, 2020

Hi,

you created this question in the "Next-gen" section, which is for "Next-gen projects" on Jira Cloud. But since you mentioned Behaviors, I'm guessing you're on Jira Server/DC, right?

Ah yes. Wrong channel.

I was viewing community posts and probably viewed one in the next-gen section, and went to create a question from there.

1 vote
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Aug 05, 2020

Hi @Ian Balas 

As an alternative, have you considered using automation rules to create the sub-tasks?  That could be triggered off the original issue create or edit.

Please look here for information to get started with the automation rules:

https://support.atlassian.com/jira-software-cloud/docs/automate-your-jira-cloud-processes-and-workflows/

 

Best regards,

Bill

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events