Forums

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

How to get the Project Key from the ProjectUpdatedDetailedChangesEvent

Christopher Gervais
Community Champion
April 21, 2023

I have a listener on all my Jira project on a change of Project Name.

So I'm using the event ProjectUpdatedDetailedChangesEvent

Ihave no problem finding if the project name have change, but there is no attribute in this class to know what is the name of the project. How can I get the project where the change have been made? Is there a way to get the Key?

Am I looking correctly? This is the class im referring to :

https://docs.atlassian.com/software/jira/docs/api/7.2.2/com/atlassian/jira/event/ProjectUpdatedDetailedChangesEvent.html

PS : Im using Scriptrunner in Data Center

1 answer

Suggest an answer

Log in or Sign up to answer
2 votes
Daniel Yelamos [Adaptavist]
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.
September 22, 2017

Jeeva.

I'm curious enough to want to help you with this. But I must admit that I don't have a single clue as to what it is that you want me to help you with.

You have given me a workflow that you have designed, and I suppose that you are asking for a scripted automatic transition? 

Please give me a specific example of what it is that you want to accomplish. The pictures help delivering information as to what your problem is, but I still don't know what it is that you want.

Cheers!

Dyelamos

TAGS
AUG Leaders

Atlassian Community Events