Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,298,605
Community Members
 
Community Events
165
Community Groups

Cannot set Portfolio team ID programmatically

I am trying to create multiple issues through my post function. I would like to assign teams for these issues through the transition screen.I am using nFeed add-on to fetch the team title and team ID and they are assigned to custom fields that i created.

 

 During the transition, user simply selects the team name from an nFeed drop down list (list of teams fetched from SQL). nFeed looks at the "jiraschema.AO_82B313_TEAM" table in SQL and assigns the selected teams ID into another custom field(e.g. cf_12417). This seems to fetch the data correctly and displays the ID number.

 

However when i try to assign the ID in my custom field to the "Team" custom field (cf_12400) of portfolio it does not assign and nothing happens. Furthermore when i enter the team ID manually everything works fine and the team is selected correctly.

 

So to sum if up during create issue post function ;

 

 nfeed field below with the value 6 inside does not work

     Set custom field: 12400, Value: %customfield_12417%

While manual entry of team ID below works fine

      Set custom field: 12400, Value: 6

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

210 views 1 4
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you