Forums

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

[Automation] Update specific fields on a specific ticket

Ribeiro Perovano, Patrick (KWLIB) April 10, 2024

I have 2 projects:

  • Project 1: Used as change requests for a client and specific configurations.
  • Project 2: I use it as a "database" containing customer records and their settings.

I'm trying to create an automation in Project 1, where after a ticket status changed to Done, an specifics fields in that ticket change the specific fields in Project 2.

Automation so far in terms of mapping the fields in order to locate which specific customer it is, etc., has been completed.

My question is: How do I create an automation (which option to use) to edit fields in a specific ticket in a specific project?

1 answer

1 accepted

0 votes
Answer accepted
Valerie Knapp
Community Champion
April 10, 2024

Hi @Ribeiro Perovano, Patrick (KWLIB) , welcome to the Atlassian Community and thanks for your question!

You could use a Global Automation for this. I just did an example -

image.png

Where on the transition of the issue to Done in one project, to branch into another project and add a label to (in this case) all of the issues but you could obviously specify the attributes and which issues to modify.

You could also use a Listener for this in ScriptRunner, if you have the app, but you would also need to know how to script it. Basically Listeners are what they sound like (ha ha) where they are programmed to listen for some event in the system, so something being updated / created / etc and then to do some actions. They are very useful but you need to know a bit of groovy to be able to use them. https://library.adaptavist.com/  If you are interested, you can check out the library or install and try the app but I think you can achieve something with Automation. 

Hope this helps.

Cheers

Ribeiro Perovano, Patrick (KWLIB) April 11, 2024

Thank you @Valerie Knapp

That works! :) Cheers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events