Forums

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

Is it possible to create a custom field for a Fix Version to be passed through on JSON payload

Rees_ Ian
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.
November 30, 2023

I am trying to use Webhooks to cause something to happen in another app when a Fix Version is created in Jira.  However, I want the user who created the Fix Version to be in the payload.  One thing I was wondering is whether I could create a custom field on a Fix Version (not an  Issue) that I could use to hold CurrentUser()

2 answers

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.
November 30, 2023

Hi @Rees_ Ian 

I have not tried either of these approaches...

Have you considered using an Automation for Jira rule to initiate the call to the service (with Send Web Request), triggered on Version Created and sending the author information from the {{initiator}} smart value? (Initiator is the user who performed the action triggering the rule.)

Another possible approach would be to have your service call back to the Jira REST API to get the audit log entry for the creation of the version.  I do not recall, but that may have the author in the audit record.

Kind regards,
Bill

0 votes
Mohamed Benziane
Community Champion
November 30, 2023

Hi,

You will need to write you own app or check the marketplace. The fixVersion creation permission is tied to the administer project permission, you could try to grab all the user in this permission and send this information to your app (is not accurate but seems much easier than create an app)

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events