• Community
  • Products
  • Jira
  • Questions
  • Can I assign a value to a custom field at time of Issue Creation based on the JIRA Project the Issue is created in?

Can I assign a value to a custom field at time of Issue Creation based on the JIRA Project the Issue is created in?

Here is my scenario:

I have multiple JIRA Projects using the same workflow and I need to 'tag' each Issue with the originating Project because my Issues can move Projects and I need to tie/link it back to the original Project.

I want to automatically assign/populate a value for a custom field (single select) @ the time an Issue is created based on the JIRA Project in which the Issue is created.

is this possible?

Regards,

Eddie

2 answers

1 accepted

This widget could not be displayed.
Daryl Chuah Atlassian Team Mar 19, 2013

Hi Eddie

You can configure different custom field option value differently for numerous different combinations of issue types and projects.

For more informatio, please check this documentation: Custom Field Context

Hope it helps

Cheer :)

This widget could not be displayed.

[shameless plug] "Slingshot UpdateFields" post function or listener can help you, see here.

The post function can set (or add) virtually all issue fields, not just basic ones, including customfields. As input it can take a fixed value (e.g. username, emailadress), an other fields (e.g. project), or it can even do some simple calculations/lookups. You can create a read-only custom text field and set it using this add-on.

Besides the postfunction, Slingshot UpdateFields comes with a configurable Listener to synchronize data fields between related (linked, parent, subtask) issues or within one issue, which could also be used in your case.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Friday in Jira

New 5k User Limit and Other Cloud Updates

Hi all! Lauren here from the Enterprise Cloud marketing team.  I have some exciting Cloud updates from #AtlassianSummit that I wanted to share. We want everyone in your organization to be ab...

119 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you