Forums

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

Jira automation - webhook with no issue connected cant access project smart value

Anna Mjau October 7, 2025

If I trigger Jira automation with a webhook, but do not have a related issue in this webhook, just data, am I not allowed to access {{project.versions.name}} smart value for example?


I have noticed a difference between my 2 automations - one with manual trigger on an issue and second that comes from a webhook without a related issue - it looks like the first one can list the {{project.versions.name}}, but the one without an issue cant.

Is there a workaround for this for the webhook without related issue or should I relate the incoming webhook with a random issue?

1 answer

1 accepted

0 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.
October 7, 2025

Hi @Anna Mjau 

Without seeing the details of your actual rule, a couple of things to try are: when the webhook has data referring to an issue...

  • branch to that issue, or use Lookup Issues with JQL, to get at the project information
  • use the Send Web Request action to call the REST API endpoint to get the versions' data

 

Kind regards,
Bill

Anna Mjau October 7, 2025

Hi!
In my case the webhook does not have data referring to a specific issue, it is just a trigger with a release major version in webhook data. The automation would then first check if that major version already exists and if not - create it. For the exists check I wanted to use {{project.versions.name}}, but it does not have a value.

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.
October 8, 2025

Thanks for that additional information, @Anna Mjau 

When creating a version, you need to know the project.  And if you have the project, the REST API endpoints may be used to identify the versions.  With Jira Data Center, that endpoint is:

https://docs.atlassian.com/software/jira/docs/api/REST/9.13.0/#api/2/project-getProjectVersions

 

Like Anna Mjau likes this

Suggest an answer

Log in or Sign up to answer