Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JIRA Gobal Automation logic

Arthur Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2026

Hi folks

I am very new to Jira and would like some help please.

Fundamentally, we are sending TeamDynamix incident data to Jira via a webhook.

I have it all working except some of the Jira Global Automation rule logic.

If this is the raw JSON being seen by Jira:

{metadata={Type=Ticket, ID=855054, ChangeType=Created}, TaskPlanID=0, Notify=[{ItemRole=Requestor, Creator, Name=xxx, Initials=null, Value=xx, RefValue=0, ProfileImageFileName=null}], RequestorUid=46655c33-1046-ef11-991b-82dd6b0c97cb, LocationID=0, PriorityOrder=2.0, CreatedEmail=xxx, CompletedFullName=, LocationRoomName=, AppID=306, Classification=32, CreatedFullName=xxx, TaskProjectID=0, IsRichHtml=true, ModifiedFullName=xxx, ID=855054, ResolveByDate=0001-01-01T00:00:00, CreatedUid=46655c33-1046-ef11-991b-82dd6b0c97cb, ResponsibleEmail=, ReviewerUid=null, ResponsibleGroupName=, PlacedOnHoldDate=0001-01-01T00:00:00, IsConvertedToTask=false, TaskTitle=, StatusName=New, ServiceOfferingID=0, UrgencyID=0, TaskStartDate=0001-01-01T00:00:00, StatusClass=1, FormID=3654, ExpensesBudgetUsed=0.0, AccountName=Information & Digital Technology, Description=Other/Unknown Description, LocationRoomID=0, TaskPercentComplete=0, RespondedFullName=, CompletedUid=null, ModifiedDate=2026-04-06T17:43:10.663Z, Uri=api/306/tickets/855054, ArticleCategoryPathNames=, LocationName=, ResponsibleUid=null, TypeCategoryID=110, IsSlaViolated=false, ImpactName=, ServiceCategoryID=433, TypeCategoryName=Information & Digital Technology, AccountID=424, TaskID=0, ArticleAppID=0, SourceID=0, WorkflowID=0, EndDate=null, ReviewingGroupID=0, EstimatedMinutes=0, ServiceOfferingName=None, ReviewingGroupName=, TimeBudgetUsed=0.0, ParentID=0, TypeName=JIRA Incidents, ArticleSubject=, Attributes=[{ID=11286, Name=Work Type, Order=0, Description=, SectionID=0, SectionName=null, FieldType=dropdown, DataType=String, Choices=[{ID=22824, Name=Product Issue, IsActive=true, DateCreated=2026-03-09T14:08:04.32Z, DateModified=2026-03-09T14:08:04.32Z, Order=0}], IsRequired=false, IsUpdatable=true, Value=22824, ValueText=Product Issue, ChoicesText=Product Issue, AssociatedItemIDs=[0]}, {ID=11283, Name=Primary Product, Order=0, Description=Select a product from the dropdown., SectionID=0, SectionName=null, FieldType=dropdown, DataType=String, Choices=[{ID=22814, Name=CRM Hubspot, IsActive=true, DateCreated=2026-03-06T22:39:15.16Z, DateModified=2026-03-09T13:10:59.947Z, Order=0}, {ID=22818, Name=Data Enhancements, IsActive=true, DateCreated=2026-03-09T13:12:43.263Z, DateModified=2026-03-09T13:12:43.263Z, Order=0}, {ID=22817, Name=Domo, IsActive=true, DateCreated=2026-03-09T13:12:43.257Z, DateModified=2026-03-09T13:12:43.257Z, Order=0}, {ID=22819, Name=FranConnect, IsActive=true, DateCreated=2026-03-09T13:12:43.277Z, DateModified=2026-03-09T13:12:43.277Z, Order=0}, {ID=22820, Name=Klaviyo, IsActive=true, DateCreated=2026-03-09T13:12:43.287Z, DateModified=2026-03-09T13:12:43.287Z, Order=0}, {ID=22822, Name=Pebblepost, IsActive=true, DateCreated=2026-03-09T13:12:43.31Z, DateModified=2026-03-09T13:12:43.31Z, Order=0}, {ID=22821, Name=SMG, IsActive=true, DateCreated=2026-03-09T13:12:43.297Z, DateModified=2026-03-09T13:12:43.297Z, Order=0}, {ID=22815, Name=Wizard Beans Reports, IsActive=true, DateCreated=2026-03-06T22:39:15.167Z, DateModified=2026-03-09T13:10:45.847Z, Order=0}, {ID=22816, Name=Zenoti POS, IsActive=true, DateCreated=2026-03-09T13:12:43.247Z, DateModified=2026-03-09T13:12:43.247Z, Order=0}, {ID=22823, Name=Other/Unknown, IsActive=true, DateCreated=2026-03-09T13:12:43.323Z, DateModified=2026-03-09T13:12:43.323Z, Order=1}], IsRequired=false, IsUpdatable=true, Value=22823, ValueText=Other/Unknown, ChoicesText=Other/Unknown, AssociatedItemIDs=[0]}, {ID=11285, Name=Business Problem, Order=0, Description=, SectionID=0, SectionName=null, FieldType=textarea, DataType=String, Choices=[], IsRequired=false, IsUpdatable=true, Value=Other/Unknown Business Problem, ValueText=Other/Unknown Business Problem, ChoicesText=, AssociatedItemIDs=[0]}, {ID=11287, Name=Labels, Order=0, Description=, SectionID=0, SectionName=null, FieldType=multiselect, DataType=String, Choices=[{ID=22825, Name=Enhancements, IsActive=true, DateCreated=2026-03-09T14:20:20.033Z, DateModified=2026-03-09T14:20:20.033Z, Order=0}, {ID=22826, Name=Franchisee, IsActive=true, DateCreated=2026-03-09T14:20:20.043Z, DateModified=2026-03-09T14:20:20.043Z, Order=1}, {ID=22827, Name=Pilot, IsActive=true, DateCreated=2026-03-09T14:20:20.057Z, DateModified=2026-03-09T14:20:20.057Z, Order=2}, {ID=22828, Name=Quick Win, IsActive=true, DateCreated=2026-03-09T14:20:20.07Z, DateModified=2026-03-09T14:20:20.07Z, Order=3}, {ID=22829, Name=Reports, IsActive=true, DateCreated=2026-03-09T14:20:20.083Z, DateModified=2026-03-09T14:20:20.083Z, Order=4}, {ID=22830, Name=Strategic Priority, IsActive=true, DateCreated=2026-03-09T14:20:20.1Z, DateModified=2026-03-09T14:20:20.1Z, Order=5}, {ID=22831, Name=Zenoti, IsActive=true, DateCreated=2026-03-09T14:20:20.113Z, DateModified=2026-03-09T14:20:20.113Z, Order=6}], IsRequired=false, IsUpdatable=true, Value=22830, ValueText=Strategic Priority, ChoicesText=Strategic Priority, AssociatedItemIDs=[0]}], IsOnHold=false, Re...

I just need to be able to associate the ValueText value with the corresponding NAME=field.

So my log should look like this:

Primary Product (I’ll enter this name manually) = Other/Unknown

Business Problem (I’ll enter this name manually) = Other/Unknown Business Problem

Labels (I’ll enter this name manually) = Strategic Priority.

My logic for Labels is Labels = webhookData.Labels.ChoicesText

1 answer

1 accepted

2 votes
Answer accepted
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 Champions.
April 7, 2026

Hi @Arthur Smith 

Posting the JSON for a rule is often not helpful for questions because: it can get truncated; does not match the spaces, types, etc. in other's sites, etc.

Instead, please post the following for context:

  • what problem is your rule trying to solve; that is, "why do this?"
  • an image of your complete rule in one single image for continuity
  • images of any relevant trigger, actions, conditions, and branches (with info obscured for any privacy concerns)
  • an image of the audit log details showing the rule execution
  • explain what is not working as expected, and why you believe that to be the case 

Thanks!

 

Kind regards,
Bill

Arthur Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2026

Hi Bill

Thanks for the clarification.

If you wouldn't mind, please send an email to me and I'll sent you all my info.

 

Appreciate your help!

 


[Personal information removed as it is against community guidelines ]

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 Champions.
April 7, 2026

@Arthur Smith , this is a public, volunteer community forum where people collaborate to ask questions, learn from one another, etc.  Thus it will help others if you post your rule information here for the community to help. 

If you are instead looking for one-on-one, dedicated support, please either:

 

Arthur Smith
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 7, 2026

This is what the logic and JSON looks like.

Just need the value attributes for Primary Product, Business Problem and Labels.

What it looks like.png

 

This is the code so far. All those in green work. Just need the value attributes for Primary Product, Business Problem and Labels.

Code so far.png

 

Appreciate any help!!

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 Champions.
April 7, 2026

Thanks for the additional information, @Arthur Smith 

FYI -- The two images posted (the rule and the audit log details) appear to be from different versions / updates to the rule as the Log statements do not align.  Perhaps you made later changes to the rule and grabbed an earlier log entry?

 

Looking at the incoming webhook data the rule logged, it may not be well-formed JSON / object data, and thus parts of it cannot use dot-notation for smart value access.

I recommend starting the top level of what you want, such as Primary Product, and logging to access there:

  • if that displays, but the lower data is plain text, you may use text functions to extract what is needed; for example, using match() with regex
  • if Primary Product using dot-notation is empty also, move up a level and use text functions to access it, etc.

 

Suggest an answer

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

Atlassian Community Events