Assign creator field with generic user

Carvalho
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 20, 2025

 

How do I change the creator user when creating automated tasks? For all our tasks created via API, the "Creator" field is assigned to an admin user who created the API access token. We would like to change the "Creator" field to "jira-service-account" or some other equivalent for the new tasks (issues).

3 answers

0 votes
Atlass Monster
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.
January 20, 2025

You can try to impersonate the user when you make your API calls, not sure how but I know few add-ons on the marketplace can do it. 

First of course you need a user with that generic name and the id of that account.

Another simpler solution, is to overwrite the assignee on issue created, you can add some tag like Summary word or something to filter those API created issues and re-assign them. 

0 votes
Marc - Devoteam
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.
January 20, 2025

Hi @Carvalho 

Welcome to the community.

This depends on the name of the user you use on creating the issues via the API.

"The creator of the issue will be the owner of the account you are using to authorise the action in the API - that's the whole point of the creator field, to trap who created it."

 

0 votes
Rudy Holtkamp
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 20, 2025

Hi @Carvalho ,

Welcome to the community.

You should be able to use the account id: 557058:f58131cb-b67d-43c7-b30d-6b58d40bd077
Which is 'Automation for Jira'.

You can check it by going to https://<yoursite>.atlassian.net/jira/people/557058:f58131cb-b67d-43c7-b30d-6b58d40bd077

 

Cheers,

Rudy

Suggest an answer

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

Atlassian Community Events