Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

How to pass object/issue id from previous step to next step (groovy script)?

ThangTN8 December 4, 2023

Hi, I'm newbie in JIRA.

I'm trying to update an attribute value of asset object attached to object/issue when object/issue is updated.

I'm working with automation role, I want to pass object/issue id from "Issue Updated"/"Asset Object updated" event to ScriptRunner action to update the attributes using groovy.

Is my approach correct? Is there a better way?

Capture.JPG

1 answer

0 votes
Paul Ceronio
Contributor
December 11, 2024

@ThangTN8 

Hi Thang,

Did you manage to solve this?

We are currently also trying to update an Asset attribute through automation.

Our developer has so far tried it via the web request automation, but what seems to be missing is access to the object ID.

Regards,

Paul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, ace, atlassian community event, donation, girls who code, women in tech, malala fund, plan international, kudos, community badge, badge, atlassian badge, International Women’s month, International Women’s Day, women's month, women's day

10 for Change at Atlassian Community Events

Show up and give back by attending an Atlassian Community Event: we’ll donate $10 for every event attendee in March!

Join an Atlassian Community Event!
AUG Leaders

Upcoming Jira Service Management Events