Missed Team ’24? Catch up on announcements here.

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

Delete/Remove an Insight Object with Automation

Chad Jackson August 10, 2022

I have an automation rule that creates and Insight Object when a workflow transition screen field is checked [Yes]

I would like to be able to also remove Insight objects if [No] is selected.

Looks like I'm able to edit attributes etc. with automation but not remove the object all together. Wondering if anyone has a way around this? 

1 answer

1 accepted

0 votes
Answer accepted
Mark Segall
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 10, 2022

Hi @Chad Jackson - There are two approaches:

  1. Don't delete objects - Instead, create a status attribute and set the status to something like INACTIVE.  Then you could go a step further and rename the object so that if you need to use the object name again in the future you can without any extra overhead.  Lastly, you would just change the IQL for any references to that object type so that inactives are no longer showing.  For example, if you don't want someone be able to select on a custom insight field, you would need to tweak the filter scope to include something like AND status != INACTIVE
  2. Make an API call - You could use the Send Web Request action to delete the object. You would need some API skills to go this route, but it's possible.
Chad Jackson September 2, 2022

Thank you @Mark Segall,  I agree with your #1 although in this instance we want to remove the objects when they are no longer needed.  I am new to JIra and using/creating API's but will give this a shot. 

Like Mark Segall likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events