Forums

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

Automation Help - Copying Target Start from a JPD Idea to a delivery ticket

Gregg Reaves
Contributor
March 24, 2025 edited

Hi - can someone please help with an automation I'm working on. Here's what I am trying to do

 

We have a JPD idea and created a delivery ticket (epic ticket type) in JIRA. What we want to happen is when the "Target Start" field in JPD is updated, we want a field in the jira epic called "Target Start JSW" to inherit that date. Here's the automation I've created. The rule runs successfully but the "Target Start JSW" field still isn't populating. Any ideas?

 

Screenshot 2025-03-24 at 11.59.17 AM.png Screenshot 2025-03-24 at 12.05.11 PM.png

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 Leaders.
March 24, 2025

Hi @Gregg Reaves 

For an automation question, please also post an image of the audit log details showing the rule execution (with all of the areas at the right side expanded).  That will provide additional context to go with the rule image.

Until we see those...

 

JPD uses its own date format, with a JSON expression as text for a range of date values: the "start" and "end".  When there is only one date value, the two are the same.

To copy the "start" value into another project's date-picker fields, please use the jsonStringToObject() function.  For example: 

{{jsonStringToObject(triggerIssue.customfield_11575).start}}

 

One more thing to check: what is the scope of your rule (in the details at the top)?  It will need to be multiple-project or global to access / update the issues in the other / non-JPD projects.

 

Kind regards,
Bill

Gregg Reaves
Contributor
March 24, 2025

@Bill Sheboy thank you so much. That string got it!

 

For future posts, I will definitely post the audit log. Apologies for omitting. Will also mention the scope, but for this purpose, it was targeting multiple projects

Like • 2 people like this
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.
March 24, 2025

Awesome; I am glad to learn that helped!

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events