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

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

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

1 vote

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.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Team-managed projects

4 steps to get actual statuses on the Jira board.

Jira   is a powerful tool   that helps teams to plan, manage, and report on their work.   We love using Jira, especially for its ability to track issue progress. But how to monitor the...

1,204 views 10 14
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