Forums

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

How to get a project key by project name in JMWE post function?

Inna S
Contributor
March 18, 2023

Hi, 

I'm trying to create an issue in a different project based on a field value in the issue.

The value matches the project name, but the issue creation expects the project key.

Is there a way to get the project key by project name and then pass it to the issue creation in JMWE function?

Thank you.

1 answer

1 accepted

1 vote
Answer accepted
Peter Bengov
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.
May 10, 2018

Hi Oscar, 

JIRA upgrades usually don't change anything in the actual setting you have done on the service like screens, workflows, field configuration. If you are using the server version - changes to files you've done on your server would require a test and a migration. 

Moreover, if you are using some plugins for automating tasks or running some post functions, which stop working or change a bit, since the plugin might not be supported for the new version (for example, some Groovy functions can be out of date). So I would suggest performing some sanity testing, as there are several moving parts. 

From my experience, with a JIRA instance filled with scripts and plugins - this is usually not an issue. 

Suggest an answer

Log in or Sign up to answer